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

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

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