private static void Main() { //this bad boy is our program entry point. mainWindow programWindow; programWindow = new mainWindow(); Application.Run(programWindow); }