Hi:
I search through this forums and google around about this Form.ShowDialog ():
I'm unable to make the event at Child Form stop running and It looks like the child Form is still "Alive":
Here:
At Form1
At Form 2
Very Simple? But when I check the Output Window, Form2 is still performing Console.Writeli ne
Thanks
I search through this forums and google around about this Form.ShowDialog ():
I'm unable to make the event at Child Form stop running and It looks like the child Form is still "Alive":
Here:
At Form1
Code:
private void button1_Click(object sender, EventArgs e)
{
Form2 frm2 =new form2();
frm2.ShowDialog();
Code:
private void button1_Click(object sender, EventArgs e)
{
this.Dispose();
}
Thanks
Comment