void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rootGrid = ((System.Windows.Controls.Grid)(target));

            #line 6 "..\..\ErrorBars.xaml"
                this.rootGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.rootGrid_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.myErrorbar = ((Specialized2DChartControl.ErrorbarsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid1 = ((System.Windows.Controls.Grid)(target));

            #line 17 "..\..\MultipleCharts.xaml"
                this.grid1.SizeChanged += new System.Windows.SizeChangedEventHandler(this.grid1_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.chart1 = ((Specialized2DChartControl.StemControl)(target));
                return;

            case 3:
                this.grid2 = ((System.Windows.Controls.Grid)(target));

            #line 20 "..\..\MultipleCharts.xaml"
                this.grid2.SizeChanged += new System.Windows.SizeChangedEventHandler(this.grid2_SizeChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.chart2 = ((Specialized2DChartControl.StairstepControl)(target));
                return;

            case 5:
                this.grid3 = ((System.Windows.Controls.Grid)(target));

            #line 23 "..\..\MultipleCharts.xaml"
                this.grid3.SizeChanged += new System.Windows.SizeChangedEventHandler(this.grid3_SizeChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.chart3 = ((Specialized2DChartControl.AreaControl)(target));
                return;

            case 7:
                this.grid4 = ((System.Windows.Controls.Grid)(target));

            #line 26 "..\..\MultipleCharts.xaml"
                this.grid4.SizeChanged += new System.Windows.SizeChangedEventHandler(this.grid4_SizeChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.chart4 = ((Specialized2DChartControl.ErrorbarsControl)(target));
                return;

            case 9:
                this.grid5 = ((System.Windows.Controls.Grid)(target));

            #line 29 "..\..\MultipleCharts.xaml"
                this.grid5.SizeChanged += new System.Windows.SizeChangedEventHandler(this.grid5_SizeChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.chart5 = ((Specialized2DChartControl.BarControl)(target));
                return;

            case 11:
                this.grid6 = ((System.Windows.Controls.Grid)(target));

            #line 32 "..\..\MultipleCharts.xaml"
                this.grid6.SizeChanged += new System.Windows.SizeChangedEventHandler(this.grid6_SizeChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.chart6 = ((Specialized2DChartControl.PolarControl)(target));
                return;
            }
            this._contentLoaded = true;
        }