Choose the Startup Form for a Windows Application in Visual Studio

The very first function to run is Main() which is in program.cs. Application.Run will launch the Startup Form.