|
-
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.
-
March 31st, 2003, 01:23 PM
#2
Please disregard. I think I have this figured out.
-
March 31st, 2003, 04:39 PM
#3
you have an edit option to edit your own post. so no need to create new post for that.
hope this helps to you,
Paresh
- Software Architect
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
|