How To Display Dialog Boxes Defined In Form1.h
In an application, i want my About.h form dialog to run when i click About menu. In the MSND library, i saw such an example to display user defined dialogs;
{
Form ^ f = gcnew Form();
f->ShowDialog();
}
And i changed this code to display my About.h form dialog such as;
{
Form ^ About = gcnew Form();
About->ShowDialog();
}
But, i still see the same empty dialog instead of my About.h form. So how can i display this dialog when i click About menu ?
Re: How To Display Dialog Boxes Defined In Form1.h
Form is a generic form
you need to change Form to the name of the actual form
also make sure you import About.h