Exemplo n.º 1
0
 private void SelectCurrent(object sender, ExecutedRoutedEventArgs e)
 {
     if (_presenter.CurrentProductID != CurrentRow.GetValue(_.ProductID))
     {
         _foreignKeyBox.EndLookup(CurrentRow.MakeValueBag(PK, Lookup));
     }
     Close();
 }
Exemplo n.º 2
0
 private void SelectCurrent(object sender, ExecutedRoutedEventArgs e)
 {
     if (_presenter.CurrentCustomerID != CurrentRow.GetValue(_.CustomerID))
     {
         _foreignKeyBox.EndLookup(CurrentRow.MakeValueBag(FK, Lookup));
         _shipToAddressBox.ClearValue();
         _billToAddressBox.ClearValue();
     }
     Close();
 }