Пример #1
0
 public bool CanHandleCommand(DevExpress.XtraReports.UserDesigner.ReportCommand command,
                              ref bool useNextHandler)
 {
     useNextHandler = !(command == ReportCommand.SaveFile ||
                        command == ReportCommand.SaveFileAs);
     return(!useNextHandler);
 }
Пример #2
0
        public void HandleCommand(DevExpress.XtraReports.UserDesigner.ReportCommand command,
                                  object[] args)
        {
            CustomWizard wizard = new CustomWizard(panel.Report);

            wizard.Run();
        }
Пример #3
0
 public bool CanHandleCommand(DevExpress.XtraReports.UserDesigner.ReportCommand command,
                              ref bool useNextHandler)
 {
     useNextHandler = !(command == ReportCommand.NewReportWizard ||
                        command == ReportCommand.AddNewDataSource ||
                        command == ReportCommand.VerbReportWizard);
     return(!useNextHandler);
 }
Пример #4
0
 public void HandleCommand(DevExpress.XtraReports.UserDesigner.ReportCommand command,
                           object[] args)
 {
     // Save the report.
     Save();
 }