I have a form that is very slow because there are many controls placed on the form.
As a result the form takes a long time to loaded.
How do I load the fo
I put some animated gif in a form called FormWait
and then I called it as:
// show the form
new Thread(() => new FormWait().ShowDialog()).Start();
// do the heavy stuff here
// get the form reference back and close it
FormWait f = new FormWait();
f = (FormWait)Application.OpenForms["FormWait"];
f.Close();