Ejemplo n.º 1
0
        private SubClipTrimmingDataTimeSpan GetSubClipTrimmingDataTimeSpan()
        {
            var trimmingdata = new SubClipTrimmingDataTimeSpan();

            if (checkBoxTrimming.Checked)
            {
                trimmingdata.StartTime = timeControlStart.GetTimeStampAsTimeSpanWithOffset();
                trimmingdata.EndTime   = timeControlEnd.GetTimeStampAsTimeSpanWithOffset();
                trimmingdata.Duration  = trimmingdata.EndTime - trimmingdata.StartTime;
            }
            return(trimmingdata);
        }
 private SubClipTrimmingDataTimeSpan GetSubClipTrimmingDataTimeSpan()
 {
     var trimmingdata = new SubClipTrimmingDataTimeSpan();
     if (checkBoxTrimming.Checked)
     {
         trimmingdata.StartTime = timeControlStart.GetTimeStampAsTimeSpanWithOffset();
         trimmingdata.EndTime = timeControlEnd.GetTimeStampAsTimeSpanWithOffset();
     }
     return trimmingdata;
 }
Ejemplo n.º 3
0
 private SubClipTrimmingDataTimeSpan GetSubClipTrimmingDataTimeSpan()
 {
     var trimmingdata = new SubClipTrimmingDataTimeSpan();
     if (checkBoxTrimming.Checked)
     {
         trimmingdata.StartTime = timeControlStart.TimeStampWithOffset;
         trimmingdata.EndTime = timeControlEnd.TimeStampWithOffset;
         trimmingdata.Duration = trimmingdata.EndTime - trimmingdata.StartTime;
         trimmingdata.Offset = timeControlStart.GetOffSetAsTimeSpan();
     }
     return trimmingdata;
 }