Exemplo n.º 1
0
 public MainWindowViewModel()
 {
     OpenFlyoutCommand     = new DelegateCommand <string>(OpenFlyoutExecute);
     TypeAttendanceCommand = new DelegateCommand(TypeAttendanceExecute);
     MainPOSViewModel      = new MainPOSViewModel();
     ManagementViewModel   = new ManagementViewModel();
     XReportCommand        = new DelegateCommand(XReportExecute);
     CloseDayCommand       = new DelegateCommand(CloseDayExecute);
 }
Exemplo n.º 2
0
        private void OpenMainPos()
        {
            Employee emp = Dialogs.GetEmployeeInShift();

            if (emp != null)
            {
                MainPOSViewModel = new MainPOSViewModel();
                MainPOSViewModel.CurrentOrder.Employee = emp;
                IsMainPosOpen = true;
            }
        }