예제 #1
0
 private void CreateCustomer(object sender, RoutedEventArgs e)
 {
     Views.SingleCustomer custWindow = new Views.SingleCustomer(new Models.Customer());
     custWindow.Show();
 }
예제 #2
0
 private void TEST_button_Click(object sender, RoutedEventArgs e)
 {
     Views.SingleCustomer custWindow = new Views.SingleCustomer(Utilities.CustomerManager.customerList.Single(x => x.ID == 3));
     custWindow.Show();
 }
 private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     Models.Customer c = (Models.Customer)CustomerGrid.SelectedItem;
     SingleCustomer scWindow = new SingleCustomer(c);
     scWindow.Show();
 }