Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a lockscreen equivalent in C#?
Message
 
À
14/09/2004 13:11:30
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00941984
Message ID:
01410379
Vues:
74
>Title says it all. I want to temporarily shutdown all video output until the form is ready to be displayed. Where should I set this code (if it >does exist)?

>TIA

>Mike


I'm not sure about your application form but may be Control.SuspendLayout and Control.ResumeLayout works for you.

http://msdn.microsoft.com/en-us/library/system.windows.forms.control.suspendlayout(VS.71).aspx

.NET Framework Class Library
Control.SuspendLayout Method

Temporarily suspends the layout logic for the control.

"The layout logic of the control is suspended until the ResumeLayout method is called.
The SuspendLayout and ResumeLayout methods are used in tandem to suppress multiple
Layout events while you adjust multiple attributes of the control. For example, you
would typically call the SuspendLayout method, then set the Size, Location, Anchor,
or Dock properties of the control, and then call the ResumeLayout method to allow
the changes to take effect."

HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform