private void mnuToolChannels_Click(object sender, EventArgs e) { if (frmChannelList.CurrentInstance != null) { frmChannelList.CurrentInstance.Close(); frmChannelList.CurrentInstance.Dispose(); } frmChannelList ofrm = frmChannelList.CurrentInstance; ofrm.MdiParent = this; ofrm.Show(); }
public frmChannelList() { InitializeComponent(); m_CurrentInstance = this; }