Hello !

I'm pretty much newbie in creating a succesful GUI in C++.
Although, i managed to create 4 buttons that should show a certain form.
Lets say, Form1 is my main form, therefore - Button 1 will open Form2, and Button 2 will open Form3.....
But the conditions is - If there is a form that is already open, clicking again on the Button that should open it, will Close it, but all the forms (form1,2,3,4,5) can be enabled together.
Also, a very important note is that whenever i close a form, in any way of closing it (Not the main form) It will "save" the changes i made (Such as ticking checkboxes and so..) and won't reopen it, it will just use "Visible" i guess ?
I couldn't get it on google, really =/
Please help me out !

Notes :
If i use Form2 ^form2show = gcnew Form2;
and then Form2->Show();
I will be able to simply ATTACK the button and open Billions of form2 ^_^
Although, when i use Form2->ShowDialog();
It won't let me open the form3,4,5.
Which isn't so bad, but when i exit from the form2, it won't save my changes (Such as checkboxes..)
Plaese, HELP ME =/

I'm stucked so hard on this sht...