Exemple #1
0
        internal void Print(string flag, string xlsFile)
        {
            InitReportData();

            if (flag == "send")
            {
                report.SendToExcelAsPart();
            }
            else
            {
                report.Print();
            }
        }
 private void printPage_Click(object sender, EventArgs e)
 {
     if (PrintUtil.ShowPrintDlg() == DialogResult.OK)
     {
         if (report.ProjectDataManager != null)
         {
             report.MutliProjectPrint();
         }
         else
         {
             report.Print();
         }
     }
 }