Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewPort = ((Prueba2.UserControl2)(target));
                return;

            case 2:
                this.Stack = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 4:
                this.Cuadros = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 37 "..\..\UserControl2.xaml"
                this.Gr.Loaded += new System.Windows.RoutedEventHandler(this.Grafica_Loaded);

            #line default
            #line hidden
                return;

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

            case 7:
                this.Componente = ((Prueba2.UserControl1)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BarView = ((Prueba2.UserControl1)(target));
                return;

            case 2:
                this.Etiqueta = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 57 "..\..\UserControl1.xaml"
                this.Left.Click += new System.Windows.RoutedEventHandler(this.Left_Click);

            #line default
            #line hidden

            #line 58 "..\..\UserControl1.xaml"
                this.Left.MouseMove += new System.Windows.Input.MouseEventHandler(this.Left_MouseMove_1);

            #line default
            #line hidden
                return;

            case 5:
                this.canvas1 = ((System.Windows.Controls.Canvas)(target));

            #line 69 "..\..\UserControl1.xaml"
                this.canvas1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas1_MouseDown);

            #line default
            #line hidden

            #line 70 "..\..\UserControl1.xaml"
                this.canvas1.MouseMove += new System.Windows.Input.MouseEventHandler(this.canvas1_MouseMove);

            #line default
            #line hidden

            #line 71 "..\..\UserControl1.xaml"
                this.canvas1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas1_MouseUp);

            #line default
            #line hidden
                return;

            case 6:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.Rigth = ((System.Windows.Controls.Button)(target));

            #line 98 "..\..\UserControl1.xaml"
                this.Rigth.Click += new System.Windows.RoutedEventHandler(this.Right_Click);

            #line default
            #line hidden

            #line 99 "..\..\UserControl1.xaml"
                this.Rigth.MouseMove += new System.Windows.Input.MouseEventHandler(this.Rigth_MouseMove);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }