private void btnDailyUrgentPoReport_Execute(object sender, SimpleActionExecuteEventArgs e)
        {
            DailyUrgentPoReport_CM poReport = new DailyUrgentPoReport_CM();

            if (poReport.RunReport())
                XtraMessageBox.Show(string.Format("报表已储存在以下位置 : {0}", poReport.SaveFilePath), "完成");

            poReport = null;
        }
示例#2
0
        private void btnRunDailyUrgentPoReport_Click(object sender, EventArgs e)
        {
            DailyUrgentPoReport poReport;

            switch (rgDailyUrgent.EditValue.ToString())
            {
                case "CM":
                    poReport = new DailyUrgentPoReport_CM();
                    break;
                default:
                    poReport = new DailyUrgentPoReport();
                    break;
            }

            if (poReport.RunReport())
                XtraMessageBox.Show(string.Format("报表已储存在以下位置 : {0}", poReport.SaveFilePath), "完成");

            poReport = null;
        }