Exemplo n.º 1
0
        public DynamicEquipmentStatusBoard()
        {
            InitializeComponent();

            LoadActiveStatusPages();

            AppTimer.Subscribe(this, TimerInterval.Seconds);
        }
Exemplo n.º 2
0
        public EquipmentOutagesStatusBoard()
        {
            InitializeComponent();

            AppTimer.Subscribe(this, TimerInterval.Minutes);
            AppTimer.Subscribe(this, TimerInterval.NewDayLocal);
            RefreshData();
        }
Exemplo n.º 3
0
        public StatusBarControl()
        {
            InitializeComponent();

            SetDateTime();

            AppTimer.Subscribe(this, TimerInterval.Minutes);
            AppModeNotifications.Subscribe(this);
        }
Exemplo n.º 4
0
        public ApplicationStatusBar()
        {
            InitializeComponent();

            AppTimer.Subscribe(this, TimerInterval.Minutes);
            CurrentUser.Subscribe(this);

            SetApplicationDateTime();
        }
Exemplo n.º 5
0
        public StatusBar()
        {
            InitializeComponent();

            SetTime();
            SetDate();

            CurrentUserNotifications.Subscribe(this);
            AppTimer.Subscribe(this, TimerInterval.Minutes);
            AppTimer.Subscribe(this, TimerInterval.NewDayLocal);
        }
 private void SlideIntervalValueChanged(object sender, RoutedPropertyChangedEventArgs <object> e)
 {
     AppTimer.Unsubscribe(this);
     AppTimer.Subscribe(this, TimerInterval.Seconds, (int)slideInterval.Value);
 }