Example #1
0
 public PosView(PosViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
     _isLandscape = true;
     EventServiceFactory.EventService.GetEvent<GenericEvent<EventAggregator>>().Subscribe(OnEvent);
     EventServiceFactory.EventService.GetEvent<GenericEvent<RegionData>>().Subscribe(OnRegionDataEvent);
 }
Example #2
0
 public PosView(PosViewModel viewModel)
 {
     InitializeComponent();
     DataContext  = viewModel;
     _isLandscape = true;
     EventServiceFactory.EventService.GetEvent <GenericEvent <EventAggregator> >().Subscribe(OnEvent);
     EventServiceFactory.EventService.GetEvent <GenericEvent <RegionData> >().Subscribe(OnRegionDataEvent);
 }
Example #3
0
 public PosView(PosViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }
Example #4
0
 public PosView(PosViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }