Inheritance: INotifyPropertyChanged
Ejemplo n.º 1
0
 public FaultReportControl(DashboardDataContext dashboardDataContext)
 {
     this.InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
     ProcessingWord = "Sending";
     StartWithFocus = UserReport;
 }
Ejemplo n.º 2
0
 public ElevateControl(DashboardDataContext dashboardDataContext)
 {
     this.InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
     ProcessingWord = "Verifying";
     StartWithFocus = ConfirmPassword;
 }
Ejemplo n.º 3
0
 public FaultReportControl(DashboardDataContext dashboardDataContext)
 {
     this.InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
     ProcessingWord = "Sending";
     StartWithFocus = UserReport;
 }
Ejemplo n.º 4
0
 public ElevateControl(DashboardDataContext dashboardDataContext)
 {
     this.InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
     ProcessingWord = "Verifying";
     StartWithFocus = ConfirmPassword;
 }
Ejemplo n.º 5
0
 public Dashboard(GwupeClientAppContext appContext)
 {
     this.InitializeComponent();
     this._appContext = appContext;
     SetupNotificationHandler();
     SetupRoster();
     // Setup the various data contexts and sources
     DashboardData            = new DashboardDataContext(this);
     DataContext              = DashboardData;
     DashboardData.LoginState = LoginState.Initializing;
     _appContext.CurrentUserManager.CurrentUserChanged += delegate { SetupCurrentUserListener(); };
     SetupEngagementWindows();
     appContext.LoginManager.LoggedOut += LoginManagerOnLoggedOut;
     activateEngagementChecker          = new Timer(30000);
     activateEngagementChecker.Elapsed += CheckActiveEngagements;
     activateEngagementChecker.Start();
     appContext.SettingsManager.PropertyChanged += SettingsOnPropertyChanged;
     SetupSearch();
     SetupPartner();
     EventManager.RegisterClassHandler(typeof(Window), Window.PreviewMouseUpEvent, new MouseButtonEventHandler(OnPreviewMouseUp));
     Logger.Info("Dashboard setup completed");
     ((INotifyCollectionChanged)Notifications.Items).CollectionChanged += new NotifyCollectionChangedEventHandler(Notification_CollectionChanged);
 }
Ejemplo n.º 6
0
 public Dashboard(GwupeClientAppContext appContext)
 {
     this.InitializeComponent();
     this._appContext = appContext;
     SetupNotificationHandler();
     SetupRoster();
     // Setup the various data contexts and sources
     DashboardData = new DashboardDataContext(this);
     DataContext = DashboardData;
     DashboardData.LoginState = LoginState.Initializing;
     _appContext.CurrentUserManager.CurrentUserChanged += delegate { SetupCurrentUserListener(); };
     SetupEngagementWindows();
     appContext.LoginManager.LoggedOut += LoginManagerOnLoggedOut;
     activateEngagementChecker = new Timer(30000);
     activateEngagementChecker.Elapsed += CheckActiveEngagements;
     activateEngagementChecker.Start();
     appContext.SettingsManager.PropertyChanged += SettingsOnPropertyChanged;
     SetupSearch();
     SetupPartner();
     EventManager.RegisterClassHandler(typeof(Window), Window.PreviewMouseUpEvent, new MouseButtonEventHandler(OnPreviewMouseUp));
     Logger.Info("Dashboard setup completed");
     ((INotifyCollectionChanged)Notifications.Items).CollectionChanged += new NotifyCollectionChangedEventHandler(Notification_CollectionChanged);
 }
Ejemplo n.º 7
0
 public AlertControl(DashboardDataContext dashboardDataContext)
 {
     InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
 }
Ejemplo n.º 8
0
 public AlertControl(DashboardDataContext dashboardDataContext)
 {
     InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
 }