Exemple #1
0
 private void RunDemo()
 {
     using (Demo game = new Demo())
     {
         game.Run();
     }
 }
Exemple #2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 //[STAThread]
 //static void Main(string[] args)
 //{
 //    Application.Run(new StartupScreen());
 //}
 static void Main(string[] args)
 {
     using (Demo demo = new Demo())
     {
         demo.Run();
     }
 }