public void EditEmployee_Click(object sender, EventArgs e) { int ID = Convert.ToInt32(EmployeeControl.listView.SelectedItems[0].SubItems[0]); AddEmployeeForm addEmp = new AddEmployeeForm(); addEmp.ShowForm(ID); }
public void AddEmployee_Click(object sender, EventArgs e) { AddEmployeeForm addEmp = new AddEmployeeForm(); addEmp.ShowForm(); }