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