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