TotalInsanity
Programmer
Hey All.
Another rediculous question by me :O)
I have two forms in c# - Form1 & Form2.
I have a button on form 1 which creates an instance of form 2 and shows it with:
Form Form2 = new Form2();
Form2.show();
Now say I have another button.
I want to close the second form in this buttons click event.
I know this sounds bizzare but I would like an example if possible..
How on earth do I do such a thing? Any help greatly appreciated!
Another rediculous question by me :O)
I have two forms in c# - Form1 & Form2.
I have a button on form 1 which creates an instance of form 2 and shows it with:
Form Form2 = new Form2();
Form2.show();
Now say I have another button.
I want to close the second form in this buttons click event.
I know this sounds bizzare but I would like an example if possible..
How on earth do I do such a thing? Any help greatly appreciated!