Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a lockscreen equivalent in C#?
Message
De
07/07/2009 11:48:48
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00941984
Message ID:
01410586
Vues:
68
>>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

Thanks for the reply Farhad. It's about 5 years after I'd asked the question and a lot has changed since then. I'm not even sure why I'd asked the question in the first place and now that I'm with a new company, it really doesn't matter anyway :)

BTW, just in case it comes up again, I'll be keeping your reply on hand.

Regards,
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform