Exemple #1
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.cbxSubDiario = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxSubDiario.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxSubDiario_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxOperacionMovimiento.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxOperacionMovimiento_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 4:
                this.cbxMotivoMovimiento = ((System.Windows.Controls.ComboBox)(target));

            #line 69 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxMotivoMovimiento.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxMotivoMovimiento_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtProveedorRazonSocial.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtProveedorRazonSocial_KeyDown_1);

            #line default
            #line hidden
                return;

            case 6:
                this.cbxFormaPago = ((System.Windows.Controls.ComboBox)(target));

            #line 85 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxFormaPago.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxFormaPago_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 7:
                this.cbxPeriodo = ((System.Windows.Controls.ComboBox)(target));

            #line 93 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxPeriodo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxPeriodo_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 8:
                this.dtpFechaOrden = ((System.Windows.Controls.DatePicker)(target));

            #line 100 "..\..\..\Compra\PCMP_Compra.xaml"
                this.dtpFechaOrden.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpFechaOrden_SelectedDateChanged_1);

            #line default
            #line hidden
                return;

            case 9:
                this.cbxMoneda = ((System.Windows.Controls.ComboBox)(target));

            #line 111 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxMoneda.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxMoneda_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 124 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxEstado.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxEstado_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\..\Compra\PCMP_Compra.xaml"
                this.dtpFechaContable.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpFechaContable_SelectedDateChanged_1);

            #line default
            #line hidden
                return;

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

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

            case 14:
                this.cbxDocReferencia = ((System.Windows.Controls.ComboBox)(target));

            #line 147 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxDocReferencia.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxDocReferencia_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 15:
                this.cbxEmpresaSucursal = ((System.Windows.Controls.ComboBox)(target));

            #line 155 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxEmpresaSucursal.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxEmpresaSucursal_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 16:
                this.GridGuiaRemision = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 18:
                this.GridDocReferencias = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.txtDocumentoRef = ((System.Windows.Controls.TextBox)(target));

            #line 183 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtDocumentoRef.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtDocumentoRef_KeyDown_1);

            #line default
            #line hidden
                return;

            case 20:
                this.stpAnticipo = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 21:
                this.btnAnticipo = ((System.Windows.Controls.Button)(target));

            #line 188 "..\..\..\Compra\PCMP_Compra.xaml"
                this.btnAnticipo.Click += new System.Windows.RoutedEventHandler(this.btnAnticipo_Click_1);

            #line default
            #line hidden
                return;

            case 22:
                this.dgReferencias = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 23:
                this.dtgDetalleColumnEliminar = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 25:
                this.dtgDetalleColumnGuiaRemision = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 26:
                this.chkPlanilla = ((System.Windows.Controls.CheckBox)(target));

            #line 205 "..\..\..\Compra\PCMP_Compra.xaml"
                this.chkPlanilla.Click += new System.Windows.RoutedEventHandler(this.chkPlanilla_Checked_1);

            #line default
            #line hidden
                return;

            case 27:
                this.cbxDocumento = ((System.Windows.Controls.ComboBox)(target));

            #line 227 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxDocumento.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxDocumento_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 236 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtSerie.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtSerie_KeyDown_1);

            #line default
            #line hidden

            #line 236 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtSerie.LostFocus += new System.Windows.RoutedEventHandler(this.txtSerie_LostFocus_1);

            #line default
            #line hidden
                return;

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

            #line 246 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtCorrelativo.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtCorrelativo_KeyDown_1);

            #line default
            #line hidden
                return;

            case 30:
                this.chkAfectoDetraccion = ((System.Windows.Controls.CheckBox)(target));

            #line 253 "..\..\..\Compra\PCMP_Compra.xaml"
                this.chkAfectoDetraccion.Click += new System.Windows.RoutedEventHandler(this.chkAfectoDetraccionClick);

            #line default
            #line hidden
                return;

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

            case 32:
                this.chkAfectoAlmacen = ((System.Windows.Controls.CheckBox)(target));

            #line 272 "..\..\..\Compra\PCMP_Compra.xaml"
                this.chkAfectoAlmacen.Click += new System.Windows.RoutedEventHandler(this.chkAfectoAlmacenClick);

            #line default
            #line hidden
                return;

            case 33:
                this.chkDistribucion = ((System.Windows.Controls.CheckBox)(target));

            #line 275 "..\..\..\Compra\PCMP_Compra.xaml"
                this.chkDistribucion.Click += new System.Windows.RoutedEventHandler(this.chkAfectoAlmacenClick);

            #line default
            #line hidden
                return;

            case 34:
                this.lblTipoDestino = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 287 "..\..\..\Compra\PCMP_Compra.xaml"
                this.cbxTipoDestino.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxTipoDestino_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 36:
                this.txtObservacion = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.DetailArticulo = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.btnAgregarArtServ = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaAddItem)(target));

            #line 315 "..\..\..\Compra\PCMP_Compra.xaml"
                this.btnAgregarArtServ.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaAddItem.IsClick(this.btnAgregarItemsIsClicked);

            #line default
            #line hidden
                return;

            case 39:
                this.btnImprimirArtServ = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaImprimir)(target));

            #line 316 "..\..\..\Compra\PCMP_Compra.xaml"
                this.btnImprimirArtServ.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaImprimir.IsClick(this.btnImprimirIsClicked);

            #line default
            #line hidden
                return;

            case 40:
                this.btnSalirArtServ = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaSalir)(target));

            #line 317 "..\..\..\Compra\PCMP_Compra.xaml"
                this.btnSalirArtServ.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaSalir.IsClick(this.btnSalirIsClicked);

            #line default
            #line hidden
                return;

            case 41:
                this.btnQuitarArtServ = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaDeleteItem)(target));

            #line 320 "..\..\..\Compra\PCMP_Compra.xaml"
                this.btnQuitarArtServ.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaDeleteItem.IsClick(this.btnQuitarItemsIsClicked);

            #line default
            #line hidden
                return;

            case 42:
                this.btnGuardarArtServ = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaGuardar)(target));

            #line 321 "..\..\..\Compra\PCMP_Compra.xaml"
                this.btnGuardarArtServ.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaGuardar.IsClick(this.btnGuardarIsClicked);

            #line default
            #line hidden
                return;

            case 43:
                this.dgCompraDetalle = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 44:
                this.dgColumnSerieNum = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.dgColumnAlmacen = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 46:
                this.dgDetalleArtServColumnCantidad = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 48:
                this.dgPrecioUnitario = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 50:
                this.dgImporte = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 51:
                this.dgIGV = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

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

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

            case 54:
                this.chkCajaBanco = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 55:
                this.chkAnticipo = ((System.Windows.Controls.CheckBox)(target));

            #line 460 "..\..\..\Compra\PCMP_Compra.xaml"
                this.chkAnticipo.Click += new System.Windows.RoutedEventHandler(this.chkAnticipo_Click_1);

            #line default
            #line hidden
                return;

            case 56:
                this.chkIncluyeIGV = ((System.Windows.Controls.CheckBox)(target));

            #line 463 "..\..\..\Compra\PCMP_Compra.xaml"
                this.chkIncluyeIGV.Click += new System.Windows.RoutedEventHandler(this.IsClickCheckBox);

            #line default
            #line hidden
                return;

            case 57:
                this.chkAfectoPercepcion = ((System.Windows.Controls.CheckBox)(target));

            #line 465 "..\..\..\Compra\PCMP_Compra.xaml"
                this.chkAfectoPercepcion.Click += new System.Windows.RoutedEventHandler(this.IsClickCheckBox);

            #line default
            #line hidden
                return;

            case 58:
                this.chkRetencion = ((System.Windows.Controls.CheckBox)(target));

            #line 466 "..\..\..\Compra\PCMP_Compra.xaml"
                this.chkRetencion.Click += new System.Windows.RoutedEventHandler(this.chkRetencion_Click_1);

            #line default
            #line hidden
                return;

            case 59:
                this.lblTitleCompra01 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 60:
                this.txtLineasArtServ = ((System.Windows.Controls.TextBox)(target));
                return;

            case 61:
                this.ColumnCal01 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 62:
                this.lblTitleCompra02 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.txtExoneradoArtServ = ((System.Windows.Controls.TextBox)(target));

            #line 476 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtExoneradoArtServ.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtExoneradoArtServ_KeyUp_1);

            #line default
            #line hidden
                return;

            case 64:
                this.lblTitleCompra03 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.txtGravadaArtServ = ((System.Windows.Controls.TextBox)(target));

            #line 483 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtGravadaArtServ.KeyDown += new System.Windows.Input.KeyEventHandler(this.CalCularKeyEnter);

            #line default
            #line hidden

            #line 484 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtGravadaArtServ.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CalCularPreviewMouseDown);

            #line default
            #line hidden

            #line 485 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtGravadaArtServ.LostFocus += new System.Windows.RoutedEventHandler(this.txtGravada_LostFocus_1);

            #line default
            #line hidden
                return;

            case 66:
                this.lblTitleCompra04 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 67:
                this.txtTotalIgvArtServ = ((System.Windows.Controls.TextBox)(target));

            #line 493 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtTotalIgvArtServ.KeyDown += new System.Windows.Input.KeyEventHandler(this.CalCularKeyEnter);

            #line default
            #line hidden

            #line 494 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtTotalIgvArtServ.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CalCularPreviewMouseDown);

            #line default
            #line hidden

            #line 495 "..\..\..\Compra\PCMP_Compra.xaml"
                this.txtTotalIgvArtServ.LostFocus += new System.Windows.RoutedEventHandler(this.txtGravada_LostFocus_1);

            #line default
            #line hidden
                return;

            case 68:
                this.lblTitleCompra05 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.txtTotalNetoArtServ = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #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.cbxUsuarioEmpresaSucursal = ((System.Windows.Controls.ComboBox)(target));

            #line 46 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.cbxUsuarioEmpresaSucursal.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxUsuarioEmpresaSucursal_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.txtProveedorRazonSocial.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtProveedorRazonSocial_KeyDown_1);

            #line default
            #line hidden
                return;

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

            case 5:
                this.cbxPeriodo = ((System.Windows.Controls.ComboBox)(target));

            #line 68 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.cbxPeriodo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxPeriodo_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 6:
                this.cbxMoneda = ((System.Windows.Controls.ComboBox)(target));

            #line 78 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.cbxMoneda.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxMoneda_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 7:
                this.cbxEstado = ((System.Windows.Controls.ComboBox)(target));

            #line 88 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.cbxEstado.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxEstado_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.cbxArea = ((System.Windows.Controls.ComboBox)(target));

            #line 110 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.cbxArea.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxArea_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

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

            #line 123 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.dtpFechaServicio.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpFechaServicio_SelectedDateChanged_1);

            #line default
            #line hidden
                return;

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

            #line 128 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.rbExonerado.Click += new System.Windows.RoutedEventHandler(this.ClickCheckBox);

            #line default
            #line hidden
                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));

            #line 164 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.dtpFechaInicio.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpFechaInicio_SelectedDateChanged_1);

            #line default
            #line hidden
                return;

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

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

            #line 181 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.cbxFormaPago.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxFormaPago_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 18:
                this.btnAgregarServicio = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaAddItem)(target));

            #line 202 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.btnAgregarServicio.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaAddItem.IsClick(this.btnAgregarServicioIsClicked);

            #line default
            #line hidden
                return;

            case 19:
                this.btnAnularProceso = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaCancelar)(target));

            #line 203 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.btnAnularProceso.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaCancelar.IsClick(this.btnCancelarIsClicked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 21:
                this.btnQuitarArticulo = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaDeleteItem)(target));

            #line 207 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.btnQuitarArticulo.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaDeleteItem.IsClick(this.btnQuitarArticuloIsClicked);

            #line default
            #line hidden
                return;

            case 22:
                this.btnGuardar = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaGuardar)(target));

            #line 208 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.btnGuardar.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaGuardar.IsClick(this.btnGuardarIsClicked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 320 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.chkAplicarRetencion.Click += new System.Windows.RoutedEventHandler(this.ClickCheckBox);

            #line default
            #line hidden
                return;

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

            #line 323 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.rbIncluidoIGV.Click += new System.Windows.RoutedEventHandler(this.ClickCheckBox);

            #line default
            #line hidden
                return;

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

            case 33:
                this.txtLineas = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 331 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.txtGravada.KeyDown += new System.Windows.Input.KeyEventHandler(this.CalCularKeyEnter);

            #line default
            #line hidden

            #line 332 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.txtGravada.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CalCularPreviewMouseDown);

            #line default
            #line hidden

            #line 332 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.txtGravada.LostFocus += new System.Windows.RoutedEventHandler(this.txtGravada_LostFocus_1);

            #line default
            #line hidden
                return;

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

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

            #line 337 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.txtImporteIGV.KeyDown += new System.Windows.Input.KeyEventHandler(this.CalCularKeyEnter);

            #line default
            #line hidden

            #line 338 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.txtImporteIGV.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CalCularPreviewMouseDown);

            #line default
            #line hidden

            #line 338 "..\..\..\OrdenServicio\PCMP_OrdenServicio.xaml"
                this.txtImporteIGV.LostFocus += new System.Windows.RoutedEventHandler(this.txtGravada_LostFocus_1);

            #line default
            #line hidden
                return;

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

            case 39:
                this.txtTotal = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
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.cbxUsuarioEmpresaSucursal = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.cbxUsuarioEmpresaSucursal.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxUsuarioEmpresaSucursal_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.cbxAlmacenDestino.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxAlmacenDestino_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.txtProveedorRazonSocial.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtProveedorRazonSocial_KeyDown_1);

            #line default
            #line hidden
                return;

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

            case 6:
                this.cbxPeriodo = ((System.Windows.Controls.ComboBox)(target));

            #line 81 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.cbxPeriodo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxPeriodo_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 7:
                this.cbxEstado = ((System.Windows.Controls.ComboBox)(target));

            #line 92 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.cbxEstado.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxEstado_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.cbxMoneda.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxMoneda_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 9:
                this.dtpFechaOrden = ((System.Windows.Controls.DatePicker)(target));

            #line 110 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.dtpFechaOrden.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dtpFechaOrden_SelectedDateChanged_1);

            #line default
            #line hidden
                return;

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

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

            case 12:
                this.cbxFormaPago = ((System.Windows.Controls.ComboBox)(target));

            #line 153 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.cbxFormaPago.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbxFormaPago_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

            case 14:
                this.dtpFechaEntrega = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 15:
                this.btnAgregarArticulo = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaAddItem)(target));

            #line 190 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.btnAgregarArticulo.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaAddItem.IsClick(this.btnAgregarArticuloIsClicked);

            #line default
            #line hidden
                return;

            case 16:
                this.btnAnularProceso = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaCancelar)(target));

            #line 191 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.btnAnularProceso.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaCancelar.IsClick(this.btnCancelarProcesoIsClicked);

            #line default
            #line hidden
                return;

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

            #line 192 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.btnSalir.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaSalir.IsClick(this.btnSalirIsClicked);

            #line default
            #line hidden
                return;

            case 18:
                this.btnQuitarArticulo = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaDeleteItem)(target));

            #line 195 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.btnQuitarArticulo.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaDeleteItem.IsClick(this.btnQuitarArticuloIsClicked);

            #line default
            #line hidden
                return;

            case 19:
                this.btnGuardar = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaGuardar)(target));

            #line 196 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.btnGuardar.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaGuardar.IsClick(this.btnGuardarIsClicked);

            #line default
            #line hidden
                return;

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

            #line 197 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.btnImprimir.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaImprimir.IsClick(this.btnImprimirIsClicked);

            #line default
            #line hidden
                return;

            case 21:
                this.dgDetalleArticulo = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 24:
                this.dgDetalleArticuloColumnPrecioUnitario = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 26:
                this.dgDetalleArticuloColumnEstado = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 27:
                this.chkPrecioIncluidoIGV = ((System.Windows.Controls.CheckBox)(target));

            #line 299 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.chkPrecioIncluidoIGV.Click += new System.Windows.RoutedEventHandler(this.chkPrecioIncluidoIGV_Click_1);

            #line default
            #line hidden
                return;

            case 28:
                this.lblLineas = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

            #line 311 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.txtGravada.KeyDown += new System.Windows.Input.KeyEventHandler(this.CalCularKeyEnter);

            #line default
            #line hidden

            #line 311 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.txtGravada.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CalCularPreviewMouseDown);

            #line default
            #line hidden

            #line 311 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.txtGravada.LostFocus += new System.Windows.RoutedEventHandler(this.txtGravada_LostFocus_1);

            #line default
            #line hidden
                return;

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

            case 33:
                this.txtTotalIgv = ((System.Windows.Controls.TextBox)(target));

            #line 316 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.txtTotalIgv.KeyDown += new System.Windows.Input.KeyEventHandler(this.CalCularKeyEnter);

            #line default
            #line hidden

            #line 316 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.txtTotalIgv.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CalCularPreviewMouseDown);

            #line default
            #line hidden

            #line 316 "..\..\..\OrdenCompra\PCMP_OrdenCompra.xaml"
                this.txtTotalIgv.LostFocus += new System.Windows.RoutedEventHandler(this.txtGravada_LostFocus_1);

            #line default
            #line hidden
                return;

            case 34:
                this.lblTitleOrdenCompra05 = ((System.Windows.Controls.TextBlock)(target));
                return;

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