I have 3 forms in my C# application — Form1, Form2 and Form3. Currently when my application starts it loads up Form1. I want all three forms to open on application startup.
I tried doing this in Program.cs:
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
Application.Run(new Form2());
}
but Form2 only shows up after Form1 is closed.
How can I make all 3 forms show up simultaneously as soon as the application starts?
Start the other forms from the
Form.Loadevent ofForm1.