internal void ShowOne(DataGridView dgvSearch) { if (dgvSearch.SelectedRows.Count > 0) { StaffMember staff = (StaffMember)dgvSearch.SelectedRows[0].DataBoundItem; FrmShowOne show = new FrmShowOne(staff); show.ShowDialog(); } }
internal void Close(FrmShowOne frmShowOne) { frmShowOne.Close(); }