form launching problem
-
Hi, I have a window form which consists of many controls and logic inside, so when the form is being shown, the controls rendering process on the form last for 2-3 seconds. How can I use a wait cursor and show the form immediately without the rendering process being seen by users ? Thanks
-
Hi, I have a window form which consists of many controls and logic inside, so when the form is being shown, the controls rendering process on the form last for 2-3 seconds. How can I use a wait cursor and show the form immediately without the rendering process being seen by users ? Thanks
Hy, I don't know if this will help you but try to delete the
this.ResumeLayout(false)
line from the InitializeComponent function and put it in the FormLoad event. If you load some controls in a dynamic way write the linethis.SuspendLayout()
in the begining of the code where you load the controls and thethis.ResumeLayout(false)
when you finish loading. It helped me some times. Hope this is a solution for you.Do your best to be the best
-
Hi, I have a window form which consists of many controls and logic inside, so when the form is being shown, the controls rendering process on the form last for 2-3 seconds. How can I use a wait cursor and show the form immediately without the rendering process being seen by users ? Thanks