Inheritance: INotifyPropertyChanged
Beispiel #1
0
 public FaultReportControl(DashboardDataContext dashboardDataContext)
 {
     this.InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
     ProcessingWord = "Sending";
     StartWithFocus = UserReport;
 }
Beispiel #2
0
 public ElevateControl(DashboardDataContext dashboardDataContext)
 {
     this.InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
     ProcessingWord = "Verifying";
     StartWithFocus = ConfirmPassword;
 }
Beispiel #3
0
 public FaultReportControl(DashboardDataContext dashboardDataContext)
 {
     this.InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
     ProcessingWord = "Sending";
     StartWithFocus = UserReport;
 }
Beispiel #4
0
 public ElevateControl(DashboardDataContext dashboardDataContext)
 {
     this.InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
     ProcessingWord = "Verifying";
     StartWithFocus = ConfirmPassword;
 }
 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);
 }
Beispiel #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);
 }
Beispiel #7
0
 public AlertControl(DashboardDataContext dashboardDataContext)
 {
     InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
 }
 public AlertControl(DashboardDataContext dashboardDataContext)
 {
     InitializeComponent();
     _dashboardDataContext = dashboardDataContext;
     InitGwupeModalUserControl(Disabler, null, null);
 }