Then in the solution explorer, under the project tree, open the “Program.cs” file. The code should be similar as follows:
static class Program
/// The main entry point for the application.
static void Main()
By modifying the “Application.Run(new Form1());” command, you can set the startup form. As an example if you want “Form2” to be set as the startup form your must change the code “Application.Run(new Form1());” to “Application.Run(new Form2());”
Recommended eBooks on SQL Server: