/// <summary> /// Standart constructor. /// </summary> /// <param name="db">Reference to Database instance.</param> /// <param name="form">Reference to MainForm.</param> /// <param name="listboxSearchData">Events datas.</param> /// <param name="searchBoldedDates">Bolded Dates datas.</param> public SearchWorker(Database db, MainForm form, Queue<TimeEvent> listboxSearchData, Queue<DateTime> searchBoldedDates) { this.db = db; this.form = form; this.listboxSearchData = listboxSearchData; this.searchBoldedDates = searchBoldedDates; }
/// <summary> /// Standart constructor. /// </summary> /// <param name="db">Reference to Database instance.</param> /// <param name="form">Reference to MainForm.</param> /// <param name="listboxPreviewData">Events datas.</param> /// <param name="previewBoldedDates">Bolded Dates datas.</param> public PreviewWorker(Database db, MainForm form, Queue<TimeEvent> listboxPreviewData, Queue<DateTime> previewBoldedDates) { this.db = db; this.form = form; this.listboxPreviewData = listboxPreviewData; this.previewBoldedDates = previewBoldedDates; }