Freeze form when it removing and reloading ctls
-
I have many datagrid-like line item cotrols in a winform form, after user comfirm changes, I need to remove those controls and reload them on the form. The user interface now showing the whole process of removing ctls and reloading. I do want user to have a wait cursor and the form freeze for a while until the process is done, any idears on how to accomplish it?
-
I have many datagrid-like line item cotrols in a winform form, after user comfirm changes, I need to remove those controls and reload them on the form. The user interface now showing the whole process of removing ctls and reloading. I do want user to have a wait cursor and the form freeze for a while until the process is done, any idears on how to accomplish it?
Use the form's SuspendLayout() and ResumeLayout() methods. Cheers, Julian Program Manager, C# This posting is provided "AS IS" with no warranties, and confers no rights.