J
John. S.
Hi,
I've created two forms at design time: Form1 and Form2.
Form1 is the main form.
I'd like to switch to Form2 if a button is clicked on Form1.
What is the proper way to accomplish that?
I know the Show() and ShowDialog() functions but don't
know how to use them.
Do I need to add some - #include "Form2.h" - to somewhere?
Thanks...
I've created two forms at design time: Form1 and Form2.
Form1 is the main form.
I'd like to switch to Form2 if a button is clicked on Form1.
What is the proper way to accomplish that?
I know the Show() and ShowDialog() functions but don't
know how to use them.
Do I need to add some - #include "Form2.h" - to somewhere?
Thanks...