Esempio n. 1
0
        private void AddElementClick(object sender, RoutedEventArgs e)
        {
            var programWindow = new AddEmployee(empNo, "add");

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

            programWindow.Show();
        }