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