You can do so using Show and Close method of the Form. Let us suppose that
you have 3 forms, Form1 (the main form), Form2 and Form3.
From Form2, if you want to open Form3 and close Form2, you can use the
following code:
Form3 f3 = new Form3();
f3.Show(); // Opens the Form3
this.Close(); // Closes the current form (Form2)
If you close Form1 (which might be the main form),...
User Profile
Collapse
-
-
What does this mean?
string.h is the C string header.
cstring is the C++ version of the C header
string is the header for the C++ string class inthe C++ Standard Library
Why do you say <string> does not exist? It has to exist if the compiler is sold as C++ compiler.Leave a comment:
No activity results to display
Show More
Leave a comment: