Esempio n. 1
0
 private void ExportToPdf(object obj)
 {
     WorkReportData wrp = new WorkReportData(this.ReportInformation, this.WorkDayCollection);
     PdfAccess.Filename = "1.pdf";
     PdfAccess.CreateWorkReportPdf(wrp);
 }
Esempio n. 2
0
 private void SaveToXml(object obj)
 {
     if (this.Filename != string.Empty)
     {
         WorkReportData wrp = new WorkReportData(this.ReportInformation, this.WorkDayCollection);
         XmlAccess.SerializeObjectToXml(wrp, this.Filename);
     }
     else
     {
         this.SaveAsToXml(null);
     }
 }