Search:
Forum
Windows Programming
VS2019 VC++ Form1 Button Loads Form2
VS2019 VC++ Form1 Button Loads Form2
Dec 29, 2020 at 11:32pm UTC
srfpala
(3)
Anyone have VC++ code that shows how a Form1 button can cause Form2 to be displayed?
In Form1.h I tried
Form2^ f2 = gcnew Form2();
f2->ShowDialog();
But it generates multiple errors.
Using VS2019 Windows Forms
TIA for your attention.
srfpala
Dec 30, 2020 at 3:03am UTC
George PlusPlus
(5757)
https://stackoverflow.com/questions/2958912/open-form2-from-form1-close-form1-from-form2
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs