コード例 #1
0
            public FeedbackRowTuple(string sampleFileName, string currentDate, string newDate, string numFilesWithThatDate, ImageRow imageRow, AmbiguousDateRange ambiguousDateRange)
            {
                // Properties that will be displayed in the data grid
                this.Select               = false;
                this.SampleFileName       = sampleFileName;
                this.CurrentDate          = currentDate;
                this.NewDate              = newDate;
                this.NumFilesWithThatDate = numFilesWithThatDate;

                this.ImageRow           = imageRow;
                this.AmbiguousDateRange = ambiguousDateRange;
            }
コード例 #2
0
        // Add a row to the tuple, which in turn will update the grid.
        public void AddFeedbackRow(string sampleFileName, string currentDate, string newDate, string numFilesWithThatDate, ImageRow imageRow, AmbiguousDateRange ambiguousDateRange)
        {
            FeedbackRowTuple row = new FeedbackRowTuple(sampleFileName, currentDate, newDate, numFilesWithThatDate, imageRow, ambiguousDateRange);

            this.feedbackRows.Add(row);
        }