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

            case 2:
                this.cbxSubCategoria = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.cbxMarca = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 68 "..\..\..\TempArticuloListaPrecio\PCMP_TempArticuloListaPrecio.xaml"
                this.txtAriculo.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtAriculo_KeyDown);

            #line default
            #line hidden

            #line 68 "..\..\..\TempArticuloListaPrecio\PCMP_TempArticuloListaPrecio.xaml"
                this.txtAriculo.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAriculo_TextChanged_1);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\..\TempArticuloListaPrecio\PCMP_TempArticuloListaPrecio.xaml"
                this.txtIdProveedor.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtIdProveedor_KeyDown);

            #line default
            #line hidden

            #line 83 "..\..\..\TempArticuloListaPrecio\PCMP_TempArticuloListaPrecio.xaml"
                this.txtIdProveedor.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAriculo_TextChanged_1);

            #line default
            #line hidden
                return;

            case 6:
                this.dtpPeriodoInicio = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.dtpPeriodoFin = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.btnImprimir = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaImprimir)(target));

            #line 115 "..\..\..\TempArticuloListaPrecio\PCMP_TempArticuloListaPrecio.xaml"
                this.btnImprimir.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaImprimir.IsClick(this.btnImprimir_IsClicked_1);

            #line default
            #line hidden
                return;

            case 9:
                this.btnExportar = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaExportarExcel)(target));

            #line 116 "..\..\..\TempArticuloListaPrecio\PCMP_TempArticuloListaPrecio.xaml"
                this.btnExportar.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaExportarExcel.IsClick(this.btnExportarIsClicked);

            #line default
            #line hidden
                return;

            case 10:
                this.btnSalir = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaSalir)(target));

            #line 117 "..\..\..\TempArticuloListaPrecio\PCMP_TempArticuloListaPrecio.xaml"
                this.btnSalir.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaSalir.IsClick(this.btnSalirIsClicked);

            #line default
            #line hidden
                return;

            case 11:
                this.dtgListaPrecio = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.lblCountItems = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyHeader = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.txtProveedorRazonSocial = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

            case 8:
                this.cbxTipoDestino = ((System.Windows.Controls.ComboBox)(target));

            #line 74 "..\..\..\OrdenServicio\PCMP_ViewOrdenServicio.xaml"
                this.cbxTipoDestino.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxTipoDestino_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            case 10:
                this.txtSelRateTipoCambio = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 11:
                this.dtpFechaServicio = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.rbExonerado = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            case 15:
                this.dtpFechaInicio = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:
                this.dtpFechaFin = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 18:
                this.btnSalir = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaSalir)(target));

            #line 152 "..\..\..\OrdenServicio\PCMP_ViewOrdenServicio.xaml"
                this.btnSalir.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaSalir.IsClick(this.btnSalirIsClicked);

            #line default
            #line hidden
                return;

            case 19:
                this.btnImprimir = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaImprimir)(target));

            #line 155 "..\..\..\OrdenServicio\PCMP_ViewOrdenServicio.xaml"
                this.btnImprimir.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaImprimir.IsClick(this.btnImprimirIsClicked);

            #line default
            #line hidden
                return;

            case 20:
                this.dgDetalleServicio = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 21:
                this.dtgColumnaTipoDestino = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 22:
                this.dtgColumnaPeriodoCompania = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 23:
                this.chkAplicarRetencion = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.rbIncluidoIGV = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.rbExoneradoIGV = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.lblTitleOrdenServicio01 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.txtLineas = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.lblTitleOrdenServicio02 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.txtGravada = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.lblTitleOrdenServicio03 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.txtImporteIGV = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.lblTitleOrdenServicio04 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.txtTotal = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }