示例#1
0
        private void AddElementClick(object sender, RoutedEventArgs e)
        {
            var programWindow = new AddEmployee(empNo, "add");

            programWindow.Show();
            empNo++;
            LoadElements();
        }
示例#2
0
        private void EditElementClick(object sender, RoutedEventArgs e)
        {
            var programWindow = new AddEmployee(selectedEmployee, EmployersXML);

            programWindow.Show();
        }