Пример #1
0
 private void Btn2_Click(object sender, RoutedEventArgs e)
 {
     Cost.GetBindingExpression(NumericUpDown.ValueProperty).UpdateSource();
     OldDebt.GetBindingExpression(NumericUpDown.ValueProperty).UpdateSource();
     CashPaid.GetBindingExpression(NumericUpDown.ValueProperty).UpdateSource();
     DiscountPaid.GetBindingExpression(NumericUpDown.ValueProperty).UpdateSource();
 }
Пример #2
0
 private void Btn2_Click(object sender, RoutedEventArgs e)
 {
     Price.GetBindingExpression(NumericUpDown.ValueProperty).UpdateSource();
     OldDebt.GetBindingExpression(NumericUpDown.ValueProperty).UpdateSource();
     TransportCost.GetBindingExpression(NumericUpDown.ValueProperty).UpdateSource();
     Paid.GetBindingExpression(NumericUpDown.ValueProperty).UpdateSource();
 }