Ejemplo n.º 1
0
 private void BtPaymentUsageClick(object sender, RoutedEventArgs e)
 {
     var pu = new PaymentUsageDetail(PageMode.AddMode);
     pu.Show();
 }
Ejemplo n.º 2
0
 private void PaymentUsageViewExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     var paymentusageId = (int) e.Parameter;
     var pu = new PaymentUsageDetail(PageMode.ViewMode, paymentusageId);
     pu.Show();
     e.Handled = true;
 }