Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a lockscreen equivalent in C#?
Message
 
To
07/07/2009 11:48:48
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00941984
Message ID:
01410640
Views:
50
>>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

Mike!
just I wanted to share a small experience with you and others, it was a trigger in my mind too to remember some codes which I wrote before for the same or similar reason. I read Q&As here to learn from all of you, correct answers show me the solutions and wrong answers give me the ways that I should bypass them, then both are valuable. I appreciate your very patient manner and sorry to reply after 5 years!!! :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform