private void addNewUserToolStripMenuItem_Click(object sender, EventArgs e) { StaffEnroll se = new StaffEnroll(); se.ShowDialog(); LoadDataIntoDataGridView(); }
private void editToolStripMenuItem_Click(object sender, EventArgs e) { int id = Convert.ToInt16(staff_id.Text); StaffEnroll nc = new StaffEnroll(); nc.Id = id; nc.IsUpdate = true; nc.ShowDialog(); }
private void staffToolStripMenuItem3_Click(object sender, EventArgs e) { StaffEnroll se = new StaffEnroll(); se.ShowDialog(); }