|
-
March 31st, 2003, 12:28 PM
#1
Disposing the parent form
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|