Waiting Form

  • Thread starter Thread starter John
  • Start date Start date
J

John

Try to implement an waiting form, which has a label and a
textbox, as below:

FormWait fm = new FormWait();
fm.Show();
for (long i = 0; i < 20000000; i++)
{
// some lengthy operations
}
fm.Close();

The texts of the label and the textbox won't display until
the for loop ends. How can I make them display from the
begining?

Thanks

John
 
Back
Top