示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sciChartSurface = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 2:
                this.LineSeries = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 3:
                this.sliceModifier = ((SciChartAnnoTest.MySliceModifier)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MainMenu_File_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 15 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MainMenu_Exit_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.StockChart = ((SciChart.Charting.Visuals.TradeChart.SciStockChart)(target));
                return;

            case 4:
                this.CandleChart = ((SciChart.Charting.Visuals.RenderableSeries.FastCandlestickRenderableSeries)(target));
                return;

            case 5:
                this.StockChart2 = ((SciChart.Charting.Visuals.TradeChart.SciStockChart)(target));
                return;

            case 6:
                this.SarChart = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TestChart = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 2:
                this.LineSeries = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 3:
                this.ChartScrollbar = ((SciChart.Charting.Visuals.SciChartScrollbar)(target));
                return;

            case 4:
                this.boxFace = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.consoleOutput = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 3:
                this.sciChartSurface = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 4:
                this.XWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 5:
                this.YWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 6:
                this.ZWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 7:
                this.sciChartSurface1 = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 8:
                this.XDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 9:
                this.YDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 10:
                this.ZDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 11:
                this.PositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;

            case 12:
                this.sciChartSurface2 = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 13:
                this.XWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 14:
                this.YWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 15:
                this.ZWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 16:
                this.sciChartSurface3 = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 17:
                this.XDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 18:
                this.YDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 19:
                this.ZDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 20:
                this.RealSensePositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;

            case 21:
                this.sciRealSenseVel = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 22:
                this.XRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 23:
                this.YRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 24:
                this.ZRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 25:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.optiflowCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.vlcPlayer = ((Vlc.DotNet.Wpf.VlcControl)(target));
                return;

            case 28:
                this.CombPositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;

            case 29:
                this.sciCombVel = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 30:
                this.XCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 31:
                this.YCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 32:
                this.ZCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 33:
                this.myCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 34:
                this.arrow = ((System.Windows.Shapes.Polygon)(target));
                return;

            case 35:
                this.camDirectionCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 36:
                this.CamArrow = ((System.Windows.Shapes.Polygon)(target));
                return;

            case 37:
                this.camRotationCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 38:
                this.CamSpin = ((System.Windows.Shapes.Polygon)(target));
                return;
            }
            this._contentLoaded = true;
        }