コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((LoggingDataManager.WPFGraph.Graph)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.STK_CurveGroupContainer1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.STK_CurveGroupContainer2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.STK_CurveGroupContainer3 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.STK_GraphContainer1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.UC_Gm1 = ((LoggingDataManager.WPFGraph.GridMap)(target));
     return;
     case 8:
     this.STK_GraphContainer2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.UC_Gm2 = ((LoggingDataManager.WPFGraph.GridMap)(target));
     return;
     case 10:
     this.STK_GraphContainer3 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this.UC_Gm3 = ((LoggingDataManager.WPFGraph.GridMap)(target));
     return;
     case 12:
     this.UC_Dp = ((LoggingDataManager.WPFGraph.DeepPanel)(target));
     return;
     case 13:
     this.TB_dEPTH = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.SL_Main = ((System.Windows.Controls.Slider)(target));
     return;
     case 15:
     this.CKB_AutoScroll = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 16:
     this.CKB_ShowLine = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 17:
     this.line = ((System.Windows.Shapes.Line)(target));
     return;
     case 18:
     this.line1 = ((System.Windows.Shapes.Line)(target));
     return;
     case 19:
     this.line2 = ((System.Windows.Shapes.Line)(target));
     return;
     case 20:
     this.line3 = ((System.Windows.Shapes.Line)(target));
     return;
     case 21:
     this.line4 = ((System.Windows.Shapes.Line)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
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.STK_CurveGroupContainer1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.UC_PT = ((LoggingDataManager.WPFGraph.ParaTable)(target));
                return;

            case 4:
                this.GD_GraphContainer = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.UC_Gm = ((LoggingDataManager.WPFGraph.GridMap)(target));
                return;

            case 6:
                this.CA_OverLay = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.REC_Overlay = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.UC_Dp = ((LoggingDataManager.WPFGraph.DeepPanel)(target));
                return;

            case 9:
                this.BTN_ZoomIn = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.BTN_Back = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.BTN_Move = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.BTN_Delete = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.CKB_ShowGrid = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.TBK_dEPTH = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.SL_Main = ((System.Windows.Controls.Slider)(target));
                return;

            case 16:
                this.TBK_Zoom = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.SL_Zoom = ((System.Windows.Controls.Slider)(target));
                return;

            case 18:
                this.line = ((System.Windows.Shapes.Line)(target));
                return;

            case 19:
                this.line1 = ((System.Windows.Shapes.Line)(target));
                return;

            case 20:
                this.line2 = ((System.Windows.Shapes.Line)(target));
                return;

            case 21:
                this.line3 = ((System.Windows.Shapes.Line)(target));
                return;
            }
            this._contentLoaded = true;
        }