public string [] getListStrings(DateTime lastPicTimestamp) { string[] retStrings = new string[4]; retStrings[0] = CaptureTimeAdjusted.ToString("HH:mm:ss"); if (lastPicTimestamp != DateTime.MinValue) { retStrings[1] = ((int)((mDateTime.Ticks - lastPicTimestamp.Ticks) / 10000000)).ToString(); } else { retStrings[1] = "-"; } retStrings[2] = mDateTimeAdjustMinutes.ToString(); retStrings[3] = mFileName; return(retStrings); }
// Sorting public int CompareTo(ImageRecord other) { return(CaptureTimeAdjusted.CompareTo(other.CaptureTimeAdjusted)); }