private void AddElementClick(object sender, RoutedEventArgs e) { var programWindow = new AddEmployee(empNo, "add"); programWindow.Show(); empNo++; LoadElements(); }
private void EditElementClick(object sender, RoutedEventArgs e) { var programWindow = new AddEmployee(selectedEmployee, EmployersXML); programWindow.Show(); }