Пример #1
0
 public void CustomerListViewSelectedCustomerChanged(object sender, CustomerChangedEventArgs args)
 {
     if (args.Customer == null)
     {
         _CustomerDetailsView.Enabled = false;
     }
     else
     {
         _CustomerDetailsView.Enabled = true;
         _CustomerDetailsView.Initialize(args.Customer);
     }
 }
Пример #2
0
 private void CustomerDetailsViewCustomerSaved(object sender, CustomerChangedEventArgs args)
 {
     _CustomerListView.Initialize(DataManager);
 }