void ISimpleVisualizationActor.StopAndSetOrClearPrimaryTime(TimeSpan?time) { StopTimers(); primaryTimeMillisecondsMeasured = TextFormatting.FormatMilliseconds(time); UpdatePrimaryTime(time, true); }
void ISimpleVisualizationActor.SetOrClearSecondaryTime(TimeSpan?time) { if (time == null) { secondaryTime = null; } else { secondaryTime = new SecondaryTime(time.Value); primaryTimeSecondsLabel.Text = TextFormatting.FormatSeconds(secondaryTime.Value.TimeValue); if (!IsEliminated) { primaryTimeMillisecondsLabel.Text = TextFormatting.FormatMilliseconds(secondaryTime.Value.TimeValue); } } }