示例#1
0
 public MainWindow()
 {
     InitializeComponent();
     currentView            = new CashRegisterView();
     currentView.mainWindow = this;
     DataContext            = currentView;
 }
示例#2
0
 public MenuCommand(CashRegisterView cashRegisterView, Action <int> currentAction)
 {
     _cashRegisterView = cashRegisterView;
     _currentAction    = currentAction;
 }