Exemple #1
0
        public EngineHelper(Control control, ClientReportContext context)
        {
            _context = context;
            _control = control;
            int handle = 0;

            if (_control != null)
            {
                handle = _control.Handle.ToInt32();
            }

            _engine = DefaultConfigs.GetRemoteEngine(ClientReportContext.Login, _context == null ? ReportStates.Print : _context.ReportState);
            CreateSemiRowsContainer();
            _semirowscontainer.ReportComing   += new ReportComingHandler(_semirowscontainer_ReportComing);
            _semirowscontainer.SemiRowsComing += new SemiRowsComingHandler(_semirowscontainer_SemiRowsComing);
            _semirowscontainer.EndAll         += new EventHandler(_semirowscontainer_EndAll);
            _semirowscontainer.ErrorOccured   += new ErrorHandler(_semirowscontainer_ErrorOccured);
            _semirowscontainer.Waiting        += new EventHandler(_semirowscontainer_Waiting);

            _headerevent = new AutoResetEvent(true);
            _outterevent = new AutoResetEvent(false);
        }
Exemple #2
0
 public IndicatorEngineHelper(Control control, ClientReportContext context)
     : base(control, context)
 {
 }