コード例 #1
0
ファイル: mainFrm.cs プロジェクト: MaDOS/minesweeper_a_clone
 private void btnPlay_Click(object sender, EventArgs e)
 {
     using (msgame game = new msgame())
     {
         game.Run();
     }
 }
コード例 #2
0
 private void btnPlay_Click(object sender, EventArgs e)
 {
     using (msgame game = new msgame())
     {
         game.Run();
     }
 }
コード例 #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());
 }
コード例 #4
0
ファイル: Program.cs プロジェクト: MaDOS/minesweeper_a_clone
 [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());
 }