Exemple #1
0
 void stDlg_FormClosing(object sender, FormClosingEventArgs e)
 {
     m_stDlg = null;
 }
Exemple #2
0
 void OpenSetTiggerDlg(string currTileTrigger, int ID)
 {
     if (m_stDlg != null)
     {
         m_stDlg.Close();
         m_stDlg = null;
     }
     m_stDlg = new SetTriggerDlg(currTileTrigger);
     m_stDlg.Text += " - TILE ID: " + ID.ToString();
     m_stDlg.FormClosing += new FormClosingEventHandler(stDlg_FormClosing);
     m_stDlg.AcceptPushed += new EventHandler(stDlg_AcceptPushed);
     m_stDlg.Show(this);
 }