Hi all,
I have From1 and Form2.
\\Form1.Button1.Click
From2 x = new Form2();
x.ShowDialog();
--------------------------
\\From2.Button2.Click
this.close();
--------------------------
1.From1.Load (When I run the App.)
2.Button1.Click (When I click it)
3.From2.Load(When I click the button1)
4.Button2.Click (When I click it)
5.Form2.Close (When I click button2)
6. ?? which Event works ?? (When I am on Form1 again after closing the Form2..)
I want to learn Which Event works on Form1 when I close the dialog Window..
Please Help me ..
Thanks.
Loading
Ibrahim ErsoyPosted Feb 20, 2011, 5:32 PM
6) FormClosing
7) FormClosed
Sam HobbsPosted Feb 20, 2011, 5:23 PM
Since you are using ShowDialog, you don't need an event; Form1 does nothing until Form2 closes. So perhaps I still do not understand the question. Perhaps it will help explain what you need if you explain why you need to do this.