bohemian
March 31st, 2003, 11:28 AM
Hello all,
I am fairly new to C# so sorry if this sounds stupid.
I have 2 forms. Form1 has a button on it, which when pressed shows Form2 (as a dialog box). I have another button on Form2. When the user presses Form2 I want it to dispose of itself (Form2) and also its parent (Form1). How can I do this?
Thanks in advance.
I am fairly new to C# so sorry if this sounds stupid.
I have 2 forms. Form1 has a button on it, which when pressed shows Form2 (as a dialog box). I have another button on Form2. When the user presses Form2 I want it to dispose of itself (Form2) and also its parent (Form1). How can I do this?
Thanks in advance.