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; }
// 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); }