Beispiel #1
0
        private void AddCustomer_OnClick(object sender, RoutedEventArgs e)
        {
            var addCustomerForm = new AddPerson(new Customer());

            addCustomerForm.Show();
        }
Beispiel #2
0
        private void AddEmployees_OnClick(object sender, RoutedEventArgs e)
        {
            var addEmployeeFrom = new AddPerson(new Employee());

            addEmployeeFrom.Show();
        }