示例#1
0
 public PaymentForm(BillUC billUC)
 {
     InitializeComponent();
     _total        = billUC.Customer.Bill.GetTotal();
     _billUC       = billUC;
     lblTotal.Text = _total.ToString("N2");
 }
示例#2
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     DataContext = new BillUC();
 }
示例#3
0
 private void Home_Button(object sender, MouseButtonEventArgs e)
 {
     DataContext = new BillUC();
 }