コード例 #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);
        }
コード例 #2
0
 private SubClipTrimmingDataTimeSpan GetSubClipTrimmingDataTimeSpan()
 {
     var trimmingdata = new SubClipTrimmingDataTimeSpan();
     if (checkBoxTrimming.Checked)
     {
         trimmingdata.StartTime = timeControlStart.GetTimeStampAsTimeSpanWithOffset();
         trimmingdata.EndTime = timeControlEnd.GetTimeStampAsTimeSpanWithOffset();
     }
     return trimmingdata;
 }
コード例 #3
0
ファイル: Subclipping.cs プロジェクト: zhshen/HuaweiAMS
 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;
 }