예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\ViewPortControlDemoWindow.xaml"
                ((CSharpWPFCharts.ViewPortControlDemoWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.pointerPB = ((System.Windows.Controls.RadioButton)(target));

            #line 15 "..\..\ViewPortControlDemoWindow.xaml"
                this.pointerPB.Checked += new System.Windows.RoutedEventHandler(this.pointerPB_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.zoomInPB = ((System.Windows.Controls.RadioButton)(target));

            #line 21 "..\..\ViewPortControlDemoWindow.xaml"
                this.zoomInPB.Checked += new System.Windows.RoutedEventHandler(this.zoomInPB_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.zoomOutPB = ((System.Windows.Controls.RadioButton)(target));

            #line 27 "..\..\ViewPortControlDemoWindow.xaml"
                this.zoomOutPB.Checked += new System.Windows.RoutedEventHandler(this.zoomOutPB_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.savePB = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\ViewPortControlDemoWindow.xaml"
                this.savePB.Click += new System.Windows.RoutedEventHandler(this.savePB_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.WPFChartViewer1 = ((ChartDirector.WPFChartViewer)(target));

            #line 41 "..\..\ViewPortControlDemoWindow.xaml"
                this.WPFChartViewer1.MouseMovePlotArea += new System.Windows.Input.MouseEventHandler(this.WPFChartViewer1_MouseMovePlotArea);

            #line default
            #line hidden

            #line 41 "..\..\ViewPortControlDemoWindow.xaml"
                this.WPFChartViewer1.ViewPortChanged += new ChartDirector.WPFViewPortEventHandler(this.WPFChartViewer1_ViewPortChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.ViewPortControl1 = ((ChartDirector.WPFViewPortControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\ZoomScrollTrack2Window.xaml"
     ((CSharpWPFCharts.ZoomScrollTrack2Window)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.pointerPB = ((System.Windows.Controls.RadioButton)(target));
     
     #line 15 "..\..\ZoomScrollTrack2Window.xaml"
     this.pointerPB.Checked += new System.Windows.RoutedEventHandler(this.pointerPB_Checked);
     
     #line default
     #line hidden
     return;
     case 3:
     this.zoomInPB = ((System.Windows.Controls.RadioButton)(target));
     
     #line 21 "..\..\ZoomScrollTrack2Window.xaml"
     this.zoomInPB.Checked += new System.Windows.RoutedEventHandler(this.zoomInPB_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.zoomOutPB = ((System.Windows.Controls.RadioButton)(target));
     
     #line 27 "..\..\ZoomScrollTrack2Window.xaml"
     this.zoomOutPB.Checked += new System.Windows.RoutedEventHandler(this.zoomOutPB_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.startDateCtrl = ((System.Windows.Controls.DatePicker)(target));
     
     #line 34 "..\..\ZoomScrollTrack2Window.xaml"
     this.startDateCtrl.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.startDateCtrl_SelectedDateChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.endDateCtrl = ((System.Windows.Controls.DatePicker)(target));
     
     #line 36 "..\..\ZoomScrollTrack2Window.xaml"
     this.endDateCtrl.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.endDateCtrl_SelectedDateChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.WPFChartViewer1 = ((ChartDirector.WPFChartViewer)(target));
     
     #line 39 "..\..\ZoomScrollTrack2Window.xaml"
     this.WPFChartViewer1.ViewPortChanged += new ChartDirector.WPFViewPortEventHandler(this.WPFChartViewer1_ViewPortChanged);
     
     #line default
     #line hidden
     
     #line 39 "..\..\ZoomScrollTrack2Window.xaml"
     this.WPFChartViewer1.MouseMovePlotArea += new System.Windows.Input.MouseEventHandler(this.WPFChartViewer1_MouseMovePlotArea);
     
     #line default
     #line hidden
     return;
     case 8:
     this.hScrollBar1 = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 40 "..\..\ZoomScrollTrack2Window.xaml"
     this.hScrollBar1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.hScrollBar1_ValueChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\RealTimeChartWindow.xaml"
                ((CSharpWPFCharts.RealTimeSensorData)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.runPB = ((System.Windows.Controls.RadioButton)(target));

            #line 16 "..\..\RealTimeChartWindow.xaml"
                this.runPB.Checked += new System.Windows.RoutedEventHandler(this.runPB_CheckedChanged);

            #line default
            #line hidden

            #line 16 "..\..\RealTimeChartWindow.xaml"
                this.runPB.Unchecked += new System.Windows.RoutedEventHandler(this.runPB_CheckedChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.freezePB = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.fftPB = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\RealTimeChartWindow.xaml"
                this.fftPB.Click += new System.Windows.RoutedEventHandler(this.FFTPB_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.quitPB = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\RealTimeChartWindow.xaml"
                this.quitPB.Click += new System.Windows.RoutedEventHandler(this.QuitPB_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.dataRate = ((System.Windows.Controls.ComboBox)(target));

            #line 41 "..\..\RealTimeChartWindow.xaml"
                this.dataRate.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataRate_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.samplePeriod = ((System.Windows.Controls.ComboBox)(target));

            #line 51 "..\..\RealTimeChartWindow.xaml"
                this.samplePeriod.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.samplePeriod_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.valueA = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.WPFChartViewer1 = ((ChartDirector.WPFChartViewer)(target));

            #line 77 "..\..\RealTimeChartWindow.xaml"
                this.WPFChartViewer1.ViewPortChanged += new ChartDirector.WPFViewPortEventHandler(this.WPFChartViewer1_ViewPortChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.WPFChartViewer2 = ((ChartDirector.WPFChartViewer)(target));

            #line 78 "..\..\RealTimeChartWindow.xaml"
                this.WPFChartViewer2.ViewPortChanged += new ChartDirector.WPFViewPortEventHandler(this.WPFChartViewer2_ViewPortChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\RealTimeDemoWindow.xaml"
                ((CSharpWPFCharts.RealTimeDemoWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.runPB = ((System.Windows.Controls.RadioButton)(target));

            #line 16 "..\..\RealTimeDemoWindow.xaml"
                this.runPB.Checked += new System.Windows.RoutedEventHandler(this.runPB_CheckedChanged);

            #line default
            #line hidden

            #line 16 "..\..\RealTimeDemoWindow.xaml"
                this.runPB.Unchecked += new System.Windows.RoutedEventHandler(this.runPB_CheckedChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.freezePB = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 4:
                this.samplePeriod = ((System.Windows.Controls.ComboBox)(target));

            #line 29 "..\..\RealTimeDemoWindow.xaml"
                this.samplePeriod.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.samplePeriod_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.valueA = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.valueB = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.valueC = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.WPFChartViewer1 = ((ChartDirector.WPFChartViewer)(target));

            #line 58 "..\..\RealTimeDemoWindow.xaml"
                this.WPFChartViewer1.ViewPortChanged += new ChartDirector.WPFViewPortEventHandler(this.WPFChartViewer1_ViewPortChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((ChartDirectorSampleCode.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((ChartDirectorSampleCode.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.pointerPB = ((System.Windows.Controls.RadioButton)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.pointerPB.Checked += new System.Windows.RoutedEventHandler(this.pointerPB_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.zoomInPB = ((System.Windows.Controls.RadioButton)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.zoomInPB.Checked += new System.Windows.RoutedEventHandler(this.zoomInPB_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.zoomOutPB = ((System.Windows.Controls.RadioButton)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.zoomOutPB.Checked += new System.Windows.RoutedEventHandler(this.zoomOutPB_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.savePB = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.savePB.Click += new System.Windows.RoutedEventHandler(this.savePB_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.hScrollBar1 = ((System.Windows.Controls.Primitives.ScrollBar)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.hScrollBar1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.hScrollBar1_ValueChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.WPFChartViewer1 = ((ChartDirector.WPFChartViewer)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.WPFChartViewer1.MouseMovePlotArea += new System.Windows.Input.MouseEventHandler(this.WPFChartViewer1_MouseMovePlotArea);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.WPFChartViewer1.ViewPortChanged += new ChartDirector.WPFViewPortEventHandler(this.WPFChartViewer1_ViewPortChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ToolBar)(target)).AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.toolBar_Click));

            #line default
            #line hidden
                return;

            case 2:
                this.BackPB = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.ForwardPB = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.PreviousPB = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.NextPB = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.treeView = ((System.Windows.Controls.TreeView)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.treeView.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.treeView_SelectedItemChanged);

            #line default
            #line hidden

            #line 53 "..\..\MainWindow.xaml"
                this.treeView.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.treeView_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 7:
                this.title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.chartViewer1 = ((ChartDirector.WPFChartViewer)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.chartViewer1.ClickHotSpot += new ChartDirector.WPFHotSpotEventHandler(this.chartViewer_ClickHotSpot);

            #line default
            #line hidden
                return;

            case 9:
                this.chartViewer2 = ((ChartDirector.WPFChartViewer)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.chartViewer2.ClickHotSpot += new ChartDirector.WPFHotSpotEventHandler(this.chartViewer_ClickHotSpot);

            #line default
            #line hidden
                return;

            case 10:
                this.chartViewer3 = ((ChartDirector.WPFChartViewer)(target));

            #line 73 "..\..\MainWindow.xaml"
                this.chartViewer3.ClickHotSpot += new ChartDirector.WPFHotSpotEventHandler(this.chartViewer_ClickHotSpot);

            #line default
            #line hidden
                return;

            case 11:
                this.chartViewer4 = ((ChartDirector.WPFChartViewer)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.chartViewer4.ClickHotSpot += new ChartDirector.WPFHotSpotEventHandler(this.chartViewer_ClickHotSpot);

            #line default
            #line hidden
                return;

            case 12:
                this.chartViewer5 = ((ChartDirector.WPFChartViewer)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.chartViewer5.ClickHotSpot += new ChartDirector.WPFHotSpotEventHandler(this.chartViewer_ClickHotSpot);

            #line default
            #line hidden
                return;

            case 13:
                this.chartViewer6 = ((ChartDirector.WPFChartViewer)(target));

            #line 76 "..\..\MainWindow.xaml"
                this.chartViewer6.ClickHotSpot += new ChartDirector.WPFHotSpotEventHandler(this.chartViewer_ClickHotSpot);

            #line default
            #line hidden
                return;

            case 14:
                this.chartViewer7 = ((ChartDirector.WPFChartViewer)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.chartViewer7.ClickHotSpot += new ChartDirector.WPFHotSpotEventHandler(this.chartViewer_ClickHotSpot);

            #line default
            #line hidden
                return;

            case 15:
                this.chartViewer8 = ((ChartDirector.WPFChartViewer)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.chartViewer8.ClickHotSpot += new ChartDirector.WPFHotSpotEventHandler(this.chartViewer_ClickHotSpot);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((ChartDirectorSampleCode.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((ChartDirectorSampleCode.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.pointerPB = ((System.Windows.Controls.RadioButton)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.pointerPB.Checked += new System.Windows.RoutedEventHandler(this.pointerPB_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.zoomInPB = ((System.Windows.Controls.RadioButton)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.zoomInPB.Checked += new System.Windows.RoutedEventHandler(this.zoomInPB_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.zoomOutPB = ((System.Windows.Controls.RadioButton)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.zoomOutPB.Checked += new System.Windows.RoutedEventHandler(this.zoomOutPB_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.savePB = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.savePB.Click += new System.Windows.RoutedEventHandler(this.savePB_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.WPFChartViewer1 = ((ChartDirector.WPFChartViewer)(target));
                return;

            case 7:
                this.viewPortControl1 = ((ChartDirector.WPFViewPortControl)(target));
                return;
            }
            this._contentLoaded = true;
        }