private void EditStaffBtn_Click(object sender, EventArgs e) { if (StaffTable.SelectedRows.Count > 0) { StaffAddForm SAF = new StaffAddForm(true, 1, ""); SAF.Show(); StaffTable.DataSource = Staffs.GetStaffTable(); } }
private void AddStaffBtn_Click(object sender, EventArgs e) { StaffAddForm SAF = new StaffAddForm(false, 1, ""); SAF.Show(); }