示例#1
0
        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);
 }
示例#3
0
 private void IntervalBinding_Format(object sender, ConvertEventArgs e)
 {
     e.Value = TimeSpanFormat.ToTimeSpanString((int)e.Value);
 }