void stfDlg_FormClosing(object sender, FormClosingEventArgs e) { m_stfDlg = null; }
private void setTileFlagsToolStripMenuItem_Click(object sender, EventArgs e) { if (m_stfDlg == null) { m_stfDlg = new SetTileFlagsDlg(m_str0, m_str1, m_str2, m_str3, m_str4, m_str5); m_stfDlg.FormClosing += new FormClosingEventHandler(stfDlg_FormClosing); m_stfDlg.setFlagsPushed += new EventHandler(stfDlg_setFlagsPushed); m_stfDlg.Show(this); } }