/// <summary> /// constructor /// </summary> public TGridPreview(Form APreviewForm, TFrmPetraUtils APetraUtilsObject, TPreviewDelegate APreviewDelegate, TResultList AResultList, TParameterList AParameters) { results = AResultList.ConvertToFormattedStrings(AParameters); FOrigParameters = AParameters; parameters = AParameters.ConvertToFormattedStrings(); FPreviewForm = APreviewForm; FPetraUtilsObject = APetraUtilsObject; FPreviewDelegate = APreviewDelegate; FGenerateReportThread = null; }
/// <summary> /// constructor /// </summary> /// <param name="AResultList"></param> /// <param name="AParameters"></param> public TReportExcel(TResultList AResultList, TParameterList AParameters) { results = AResultList.ConvertToFormattedStrings(AParameters, "CSV"); parameters = AParameters.ConvertToFormattedStrings("CSV"); }