Just started learning C# yesterday and have already overcome many problems, but its slow work atm! Just wondering if there's an event in C# which is called upon when other form dialogs are closed and it is the active form...I suppose its on focus really...
I've tried this, but it doesn't seem to work.
Can anyone point me in the right direction? I basically need to run the code above each time all the other form dialogs are closed..
Cheers,
Rich
I've tried this, but it doesn't seem to work.

Code:
private void Main_Activated(object sender, EventArgs e)
{
message.Text = message.Text + msgtext + " ";
msgtext = null;
this.message.Focus();
}
Can anyone point me in the right direction? I basically need to run the code above each time all the other form dialogs are closed..
Cheers,
Rich