private void OnTimerStarted(TimerStartMessage message) { TimeString = TimeFormatter.FormatTimerDisplayString(message.CountUp ? 0 : message.TargetSeconds); IsRunning = true; InitOverallDurationSector(message.TargetSeconds); }
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(); } }