Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 void newMap_FormClosing(object sender, FormClosingEventArgs e)
 {
     m_newMapDlg = null;
 }