private void ButtonNewEmployee_Click(object sender, EventArgs e) { Form ifrm = new FormEmployee(); ifrm.ShowDialog(); Update_checkedListBoxEmployee(); }
private void ButtonAddEmployee_Click(object sender, EventArgs e) { var ifrm = new FormEmployee(); ifrm.ChangingEmployee = listEmployee.SelectedItem as employee; ifrm.ShowDialog(); { UpdateEmployeesList(); UpdateSkillsList(); } }