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.txb3 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

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

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

            #line 27 "..\..\..\..\Ventanas_Modales\Clientes\wnwCantidadProductoPedido.xaml"
                this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.BtnGuardar_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\..\Ventanas_Modales\Clientes\wnwCantidadProductoPedido.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.BtnCancelar_Click);

            #line default
            #line hidden
                return;

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

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

            case 19:
                this.ucPedido = ((SIGEEA_App.User_Controls.uc_ControlNumericoGrande)(target));
                return;

            case 20:
                this.ucDescuento = ((SIGEEA_App.User_Controls.uc_ControlNumericoDescuento)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txbBuscarProducto = ((System.Windows.Controls.TextBox)(target));

            #line 20 "..\..\..\..\Ventanas_Modales\Clientes\wnwRealizarPedidoCliente.xaml"
                this.txbBuscarProducto.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txbBuscarProducto_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.wpProducto = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 6:
                this.wpVeProducto = ((System.Windows.Controls.WrapPanel)(target));

            #line 38 "..\..\..\..\Ventanas_Modales\Clientes\wnwRealizarPedidoCliente.xaml"
                this.wpVeProducto.Drop += new System.Windows.DragEventHandler(this.wpVeProducto_Drop);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\..\Ventanas_Modales\Clientes\wnwRealizarPedidoCliente.xaml"
                this.btnGenerarFactura.Click += new System.Windows.RoutedEventHandler(this.btnGenerarFactura_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\..\Ventanas_Modales\Clientes\wnwRealizarPedidoCliente.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);

            #line default
            #line hidden
                return;

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

            case 10:
                this.cmbMoneda = ((System.Windows.Controls.ComboBox)(target));

            #line 58 "..\..\..\..\Ventanas_Modales\Clientes\wnwRealizarPedidoCliente.xaml"
                this.cmbMoneda.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbMoneda_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.cmbVenta = ((System.Windows.Controls.ComboBox)(target));

            #line 59 "..\..\..\..\Ventanas_Modales\Clientes\wnwRealizarPedidoCliente.xaml"
                this.cmbVenta.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbVenta_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.cmbTipoFactura = ((System.Windows.Controls.ComboBox)(target));

            #line 63 "..\..\..\..\Ventanas_Modales\Clientes\wnwRealizarPedidoCliente.xaml"
                this.cmbTipoFactura.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbTipoFactura_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.ucDescuentoTotal = ((SIGEEA_App.User_Controls.uc_ControlNumericoDescuento)(target));
                return;

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

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

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

            case 19:
                this.grdCredito = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.lbCredito = ((System.Windows.Controls.Label)(target));
                return;

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