static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
static void Main(string[] args) { Login log; using (Game1 game = new Game1()) { log = new Login(); Application.EnableVisualStyles(); Application.Run(new Form1(log)); if (log.accepted) game.Run(); } }