Exemple #1
0
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
             game.Run();
     }
 }
Exemple #2
0
 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();
     }
 }