private void OnBackCommandExecute()
 {
     _rootViewModel.ChangePage(new ClientHallViewModel(_user, _reservation, OrderedDishes));
 }
示例#2
0
 private void OnBackCommandExecute()
 {
     _rootViewModel.ChangePage(_parentViewModel);
 }
 private void OnOrderCommandExecute()
 {
     _parentViewModel.ChangePage(new ClientHallViewModel(_user));
 }
示例#4
0
 private void OnBackCommandExecute()
 {
     OrderedDishes.Remove(_bonusDish);
     _rootViewModel.ChangePage(new ClientMenuViewModel(_user, _reservation, OrderedDishes));
 }
 private void OnBackCommandExecute()
 {
     _rootViewModel.ChangePage(new ClientMainViewModel(_user));
 }
 private void OnEnterCommandExecute()
 {
     _parentViewModel.ChangePage(new EnterViewModel(_parentViewModel, this));
 }
        private void OnBackCommandExecute()
        {
            IViewModel root = ViewModelManager.GetFirstOrDefaultInstance <MainWindowViewModel>();

            root.ChangePage(_parentViewModel);
        }