private void menuMainAccountsManage_Click(object sender, EventArgs e) { using (frmAccountManagement frm = new frmAccountManagement()) { frm.ShowDialog(this); frm.Close(); } RefreshAccountList(); }