Locking refresh of winform

L

Luis Soler

Hi:

Can I lock refresh of winform to avoid to visualize some temporary changes ?
I am changing bindincontext of some controls to do certain checkings and I
don't want that the user sees the changes of field's contents..
Visual FoxPro, for example, has intruction: Thisform.LockScreen

Thanks
 
K

Ken Tucker [MVP]

Hi,

Take a look at the forms SuspendLayout and ResumeLayout methods.

http://msdn.microsoft.com/library/d...indowsformscontrolclasssuspendlayouttopic.asp

http://msdn.microsoft.com/library/d...windowsformscontrolclassresumelayouttopic.asp

Ken
----------------
Hi:

Can I lock refresh of winform to avoid to visualize some temporary changes ?
I am changing bindincontext of some controls to do certain checkings and I
don't want that the user sees the changes of field's contents..
Visual FoxPro, for example, has intruction: Thisform.LockScreen

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top