I thought Shown
would be the answer. But it seems that not all controls are equal. A panel is shown immediately, while a label – not.
I have the fo
Add the following at the beginning of the event handler:
this.Update();
void Form2_Shown(object sender, EventArgs e)
{
Application.DoEvents();
System.Threading.Thread.Sleep(2000);
}
I think that gets you what you want , but IMHO if you have a lengthy operation you should start another thread.