コード例 #1
0
 /// <summary>
 /// Function for Print
 /// </summary>
 /// <param name="fromDate"></param>
 /// <param name="toDate"></param>
 public void Print(DateTime fromDate, DateTime toDate)
 {
     try
     {
         DataSet   dsProfit  = GetDataSet();
         frmReport frmReport = new frmReport();
         frmReport.MdiParent = formMDI.MDIObj;
         frmReport.ProfitAndLossReportPrinting(dsProfit);
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PAL4:" + ex.Message;
     }
 }