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