How can I open from one Form in a WinForm app with multiple Forms? The answer to these and many more questions: How to…
When you open a WinForms app, you see a code similar to:
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MyMainForm());
}
where “MyMainForm” is the name of your Form. When you start your app, a form will be created with the new MyMainForm. From this form, you can create the mainform itself. Then create a different form and invoke the method “ShowDialog”:
this.hide();
SecondForm otherForm = new SecondForm();
otherForm.ShowDialog();
This video explains: [Fox Learn]https://www.youtube.com/watch?v=dWHE7mx_U14)