Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hey,

I am creating a project that has inherited forms on one form. As I can show inherited forms with (formname).show, I want to show the form without an effect (as the show effect in windows usually consist of immediate expansion and then shows controls and I want to show a form without a show effect). Is there a way to do this?

Help is appreciated :)
Posted

Are you going between forms ? The easiest way to do this, is to create your forms as controls and show them one at a time, so you don't get the effect that Windows does on a new form, b/c the form never changes.
 
Share this answer
 
Comments
CoolC22 28-Jul-12 17:58pm    
Hey, that idea is great! I considered it before, but it may require a bit of effort. I was looking for an expansion of ease, but looks like that wont be anywhere anytime soon. Lol. Thanks :)
Override the .Show() method and use any effect you want

http://msdn.microsoft.com/en-us/library/system.windows.forms.form.show(v=vs.80).aspx[^]
 
Share this answer
 
Comments
CoolC22 28-Jul-12 17:56pm    
Hey, How would I override the .show() Method? Protected Overrides doesnt have the function :/. That would be a great chance for adding smooth animations in my program. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900