Beispiel #1
0
        public ReportBindingSource(ShadowMaker bigShadow, AsyncExceptionHandler exceptionHandler, ProjectManager manager)
        {
            this.aex       = exceptionHandler;
            this.bigShadow = bigShadow;
            this.manager   = manager;

            List = new ObservableCollection <ModelControl>();

            AreCountersGlobalVisible = false;
            AreTrTimesGlobalVisible  = false;
        }
Beispiel #2
0
        public Analyst(ProjectManager clerk, ShadowMaker shadowMaker, AsyncExceptionHandler exceptionHandler)
        {
            this.aex = exceptionHandler;

            this.shadowMaker = shadowMaker;

            this.clerk = clerk;
            this.Host = new ReportBindingSource(shadowMaker, exceptionHandler, clerk);

            //this.Host.DrawModel += new EventHandler<EventArgs<UserControl, bool>>(Host_DrawModel);
            this.Host.DrawPoints += new EventHandler<EventArgs<UserControl>>(Host_DrawPoints);
            this.Host.DrawCounters += new EventHandler<EventArgs<UserControl>>(Host_DrawCounters);
            this.Host.GenerateCountersReport += new EventHandler<EventArgs<DataTableEx, Dispatcher>>(Host_GenerateCountersReport);
            this.Host.GenerateTrTimesReport += new EventHandler<EventArgs<DataTableEx, Dispatcher>>(Host_GenerateTrTimesReport);

            this.Host.DrawSections += new EventHandler<EventArgs<UserControl>>(Host_DrawSections);
            this.Host.DrawTrTimes += new EventHandler<EventArgs<UserControl>>(Host_DrawTrTimes);
        }
Beispiel #3
0
 private void InitShadowMaker()
 {
     ShadowMaker = new ShadowMaker();
     ccShadowHost.DataContext = ShadowMaker;
 }
Beispiel #4
0
 private void InitShadowMaker()
 {
     shadowMaker = new ShadowMaker();
     ccTopLayerHost.DataContext = shadowMaker;
 }