unbreakable
Newcomer
- Joined
- Oct 20, 2004
- Messages
- 8
Hey guys,
I am opening Form2 when a button is clicked on Form1. After the user finishes entering some data in Form2, on clicking a button I want to close both Form2 and Form1. I could close Form2 that was very easy. But I could not close Form1. I tried using 'this.ParentForm.Close();' on the button click event on Form2. But that doesn't work. Any ideas on how to solve this?
-Unbreakable.
I am opening Form2 when a button is clicked on Form1. After the user finishes entering some data in Form2, on clicking a button I want to close both Form2 and Form1. I could close Form2 that was very easy. But I could not close Form1. I tried using 'this.ParentForm.Close();' on the button click event on Form2. But that doesn't work. Any ideas on how to solve this?
-Unbreakable.