Beispiel #1
0
        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);
        }
Beispiel #2
0
        public void AddEmployee_Click(object sender, EventArgs e)
        {
            AddEmployeeForm addEmp = new AddEmployeeForm();

            addEmp.ShowForm();
        }