private void btnAddAcc_Click(object sender, EventArgs e) { frmAddStaff frmA = new frmAddStaff(); frmA.ShowDialog(); loadAllAccount(); }
private void addStaffToolStripMenuItem_Click(object sender, EventArgs e) { if (_frmAddStaff == null) { _frmAddStaff = new frmAddStaff(); _frmAddStaff.Show(dp, DockState.Document); } else { _frmAddStaff.Activate(); } }