Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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");
 }