Esempio n. 1
0
        private void NewCustomer(object sender, RoutedEventArgs e)
        {
            NewEditCustomer newEditCustomerWindow = new NewEditCustomer(false);

            newEditCustomerWindow.ShowDialog();
            fillCustomerList();
        }
Esempio n. 2
0
        private void EditCustomer()
        {
            NewEditCustomer newEditCustomerWindow = new NewEditCustomer(true);

            newEditCustomerWindow.ShowDialog();
            fillCustomerList();
            CustomerList.ItemsSource = new Queries().findCustomer(CustomerSearching.Text);
        }