Beispiel #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.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;
        }
Beispiel #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 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;
        }