Ejemplo n.º 1
0
        private void OnTimerStarted(TimerStartMessage message)
        {
            TimeString = TimeFormatter.FormatTimerDisplayString(message.CountUp
                ? 0
                : message.TargetSeconds);

            IsRunning = true;
            InitOverallDurationSector(message.TargetSeconds);
        }
Ejemplo n.º 2
0
        private void OnTimerStarted(TimerStartMessage msg)
        {
            var model = (TimerOutputWindowViewModel)DataContext;

            if (!model.SplitAndFullScrenModeIdentical())
            {
                model.TextColor = GreenYellowRedSelector.GetGreenBrush();

                // only animate if the user has configured different display
                // layout for timer mode and full-screen mode
                DisplaySplitScreen();
            }
        }