コード例 #1
0
 private void miCaveHunter_Click(object sender, System.EventArgs e)
 {
     if (m_caveHunter == null)
     {
         m_caveHunter = new CaveHunter.GameMain();
     }
     else
     {
         m_caveHunter.Dispose();
         m_caveHunter = null;
     }
 }
コード例 #2
0
ファイル: Main.cs プロジェクト: timdetering/Endogine
 private void miCaveHunter_Click(object sender, System.EventArgs e)
 {
     if (m_caveHunter == null)
         m_caveHunter = new CaveHunter.GameMain();
     else
     {
         m_caveHunter.Dispose();
         m_caveHunter = null;
     }
 }