public TicketEditorView(TicketEditorViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
     EventServiceFactory.EventService.GetEvent<GenericEvent<TicketEditorViewModel>>().Subscribe(
         x =>
         {
             if (x.Topic == EventTopicNames.FocusTicketScreen)
                 MainTabControl.BackgroundFocus();
         });
 }
 public TicketEditorView(TicketEditorViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
     EventServiceFactory.EventService.GetEvent <GenericEvent <TicketEditorViewModel> >().Subscribe(
         x =>
     {
         if (x.Topic == EventTopicNames.FocusTicketScreen)
         {
             MainTabControl.BackgroundFocus();
         }
     });
 }
Example #3
0
 public DepartmentButtonView(TicketEditorViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }
 public DepartmentButtonView(TicketEditorViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }