P
Patrick De Ridder
Button1 displays Form1. Button 2 displays Form2. etc.
The changes are brought about by Buttoin_Clicks. How do I get rid of
Form1 purely by pressing Button2? Because as soon as I press Button2,
I have lost the scope of Form1 and I can no longer do Form1.Close();
(Of course I can get rid of Form1 by pressing the "X-Button" I have
put on Form1, but that is not what I want, I want Form1 to disappear
as soon as soon as I press Button2.)
Can it be done I wonder? How?
Thanks.
The changes are brought about by Buttoin_Clicks. How do I get rid of
Form1 purely by pressing Button2? Because as soon as I press Button2,
I have lost the scope of Form1 and I can no longer do Form1.Close();
(Of course I can get rid of Form1 by pressing the "X-Button" I have
put on Form1, but that is not what I want, I want Form1 to disappear
as soon as soon as I press Button2.)
Can it be done I wonder? How?
Thanks.