Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Areas33 = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.Arrows = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.S_A = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 4:
     this.A_E = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 5:
     this.A_B = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 6:
     this.B_C = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 7:
     this.C_D = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 8:
     this.A_H = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 9:
     this.H_I = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 10:
     this.E_I = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 11:
     this.I_K = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 12:
     this.I_J = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 13:
     this.I_G = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 14:
     this.E_F = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 15:
     this.F_G = ((Microsoft.Expression.Controls.LineArrow)(target));
     return;
     case 16:
     this.Icons = ((System.Windows.Controls.Grid)(target));
     return;
     case 17:
     this.Start = ((Microsoft.Expression.Shapes.RegularPolygon)(target));
     return;
     case 18:
     this.Red = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.A = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 20:
     this.E = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 21:
     this.I = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 22:
     this.C = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 23:
     this.D = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 24:
     this.Purple = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.H = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 26:
     this.B = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 27:
     this.F = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 28:
     this.J = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 29:
     this.K = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 30:
     this.BOSS = ((System.Windows.Shapes.Path)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn_AddNode = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.btn_AddNode.Click += new System.Windows.RoutedEventHandler(this.btn_AddNode_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.tb = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.tb_root = ((System.Windows.Controls.TextBox)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.tb_root.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.tb_root_left = ((System.Windows.Controls.TextBox)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.tb_root_left.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_left_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 6:
                this.tb_root_right = ((System.Windows.Controls.TextBox)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.tb_root_right.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_right_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 7:
                this.tb_root_left_left = ((System.Windows.Controls.TextBox)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.tb_root_left_left.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_left_left_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 8:
                this.tb_root_left_right = ((System.Windows.Controls.TextBox)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.tb_root_left_right.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_left_right_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 9:
                this.tb_root_right_left = ((System.Windows.Controls.TextBox)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.tb_root_right_left.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_right_left_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.tb_root_right_right = ((System.Windows.Controls.TextBox)(target));

            #line 22 "..\..\MainWindow.xaml"
                this.tb_root_right_right.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_right_right_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 11:
                this.tb_root_left_left_left = ((System.Windows.Controls.TextBox)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.tb_root_left_left_left.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_left_left_left_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 12:
                this.tb_root_left_left_right = ((System.Windows.Controls.TextBox)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.tb_root_left_left_right.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_left_left_right_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 13:
                this.tb_root_left_right_left = ((System.Windows.Controls.TextBox)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.tb_root_left_right_left.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_left_right_left_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 14:
                this.tb_root_left_right_right = ((System.Windows.Controls.TextBox)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.tb_root_left_right_right.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_left_right_right_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 15:
                this.tb_root_right_right_left = ((System.Windows.Controls.TextBox)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.tb_root_right_right_left.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_right_right_left_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 16:
                this.tb_root_right_right_right = ((System.Windows.Controls.TextBox)(target));

            #line 28 "..\..\MainWindow.xaml"
                this.tb_root_right_right_right.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_right_right_right_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 17:
                this.tb_root_right_left_right = ((System.Windows.Controls.TextBox)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.tb_root_right_left_right.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_right_left_right_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 18:
                this.tb_root_right_left_left = ((System.Windows.Controls.TextBox)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.tb_root_right_left_left.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tb_root_right_left_left_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 19:
                this.ln_root_left = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 20:
                this.ln_root_left_left = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 21:
                this.ln_root_left_left_left = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 22:
                this.ln_root_left_right_left = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 23:
                this.ln_root_rigth_left_left = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 24:
                this.ln_root_rigth_right_left = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 25:
                this.ln_root_left_left_right = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 26:
                this.ln_root_left_right_right = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 27:
                this.ln_root_rigth_left_right = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 28:
                this.ln_root_rigth_right_right = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 29:
                this.ln_root_rigth_right = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 30:
                this.ln_root_left_right = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 31:
                this.ln_root_right_left = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 32:
                this.ln_root_right = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 33:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.lb_validation = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.decodeArrow = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 2:
                this.touchArrow = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 3:
                this.plcArrow = ((Microsoft.Expression.Controls.LineArrow)(target));
                return;

            case 4:
                this.wireless = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.plc = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.decode = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.touch = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.wirelessIMG = ((System.Windows.Controls.Image)(target));

            #line 75 "..\..\..\..\R\UI\CarComm.xaml"
                this.wirelessIMG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.IMG_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.plcIMG = ((System.Windows.Controls.Image)(target));

            #line 76 "..\..\..\..\R\UI\CarComm.xaml"
                this.plcIMG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.IMG_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 10:
                this.touchIMG = ((System.Windows.Controls.Image)(target));

            #line 77 "..\..\..\..\R\UI\CarComm.xaml"
                this.touchIMG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.IMG_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 11:
                this.decodeIMG = ((System.Windows.Controls.Image)(target));

            #line 78 "..\..\..\..\R\UI\CarComm.xaml"
                this.decodeIMG.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.IMG_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 12:
                this.txtCarInfo = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }