Exemple #1
0
 private void btnPlay_Click(object sender, EventArgs e)
 {
     using (msgame game = new msgame())
     {
         game.Run();
     }
 }
Exemple #2
0
 private void btnPlay_Click(object sender, EventArgs e)
 {
     using (msgame game = new msgame())
     {
         game.Run();
     }
 }
Exemple #3
0
 [STAThread()] //!!! IMPORTANT: WPF-Controls need STAThread !!!
 static void Main(string[] args)
 {
     using (msgame game = new msgame())
     {
         game.Run();
     }
     //Application.EnableVisualStyles();
     //Application.SetCompatibleTextRenderingDefault(false);
     //Application.Run(new mainFrm());
 }
Exemple #4
0
 [STAThread()] //!!! IMPORTANT: WPF-Controls need STAThread !!!
 static void Main(string[] args)
 {
     
     using (msgame game = new msgame())
     {
         game.Run();
     }
     //Application.EnableVisualStyles();
     //Application.SetCompatibleTextRenderingDefault(false);
     //Application.Run(new mainFrm());
 }