コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txbNombre = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.txbDescripcion = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.btnRegistrar = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\..\..\Ventanas_Modales\Productos\wnwRegistrarProducto.xaml"
     this.btnRegistrar.Click += new System.Windows.RoutedEventHandler(this.btnRegistrar_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.lblNombre = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.lblCalidad = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.lblDescripcion = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.ucCalidad = ((SIGEEA_App.User_Controls.uControl_Numerico)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grdPrincipal = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.txbTipo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txb1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.txbNombre = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.txb2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.txbCantidad = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.txbUniMedida = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.txb3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.txbPedido = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.txbId = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 13:
                this.txb3_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 15:
                this.txb3_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 17:
                this.txbNuevoPrecio = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.txbMoneda = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.txbMoneda1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.ucCanDescuento = ((SIGEEA_App.User_Controls.uControl_Numerico)(target));
                return;

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