コード例 #1
0
ファイル: Form1.cs プロジェクト: marvelman610/tmntactis
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     // Creating a new map
     if (m_newMapDlg == null)
     {
         m_newMapDlg = new NewMap();
         m_newMapDlg.FormClosing += new FormClosingEventHandler(newMap_FormClosing);
         m_newMapDlg.createPushed += new EventHandler(newMap_createPushed);
         m_newMapDlg.Show(this);
     }
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: marvelman610/tmntactis
 void newMap_FormClosing(object sender, FormClosingEventArgs e)
 {
     m_newMapDlg = null;
 }