Пример #1
0
        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            string passingVal = txtSerch.Text;

            updateCustomer newUpdate = new updateCustomer(passingVal);

            this.NavigationService.Navigate(newUpdate);
        }
Пример #2
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            customerDetailsTB selectedCus = (customerDetailsTB)customerList.SelectedItem;

            //updateCustomerAuto newCustomer = new updateCustomerAuto(selectedCus.name.ToString());

            updateCustomer myCustomer = new updateCustomer(selectedCus.name.ToString());

            this.NavigationService.Navigate(myCustomer);
        }
Пример #3
0
        private void MenuItem_Click_13(object sender, RoutedEventArgs e)
        {
            updateCustomer newUpdate = new updateCustomer(null);

            homeFrame.Content = newUpdate;
        }