private void UpdateCumulativeDuration() { int total = CumulativeDuration(); if (iterationCount_RadioButton.Checked) { total = total * RepeatCount; } cumulativeTime_Label.Text = TimeSpanFormat.ToTimeSpanString(total); }
private void ConvertTotalMinutesToHourMinute(object sender, ConvertEventArgs e) { e.Value = TimeSpanFormat.ToTimeSpanString((int)e.Value); }
private void IntervalBinding_Format(object sender, ConvertEventArgs e) { e.Value = TimeSpanFormat.ToTimeSpanString((int)e.Value); }