示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridFiltrarFecha = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.dtpFechaDesde = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 3:
                this.dtpFechaHasta = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 4:
                this.GridFiltrarDescripcion = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            case 8:
                this.btnNuevo = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaNuevo)(target));

            #line 105 "..\..\..\Compra\PCMP_ListadoCompra.xaml"
                this.btnNuevo.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaNuevo.IsClick(this.btnNuevoIsClicked);

            #line default
            #line hidden
                return;

            case 9:
                this.btnAnular = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaAnular)(target));

            #line 106 "..\..\..\Compra\PCMP_ListadoCompra.xaml"
                this.btnAnular.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaAnular.IsClick(this.btnAnularIsClick);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\..\Compra\PCMP_ListadoCompra.xaml"
                this.btnSalir.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaSalir.IsClick(this.btnSalirIsClicked);

            #line default
            #line hidden
                return;

            case 11:
                this.btnEditar = ((ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaEditar)(target));

            #line 110 "..\..\..\Compra\PCMP_ListadoCompra.xaml"
                this.btnEditar.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaEditar.IsClick(this.btnEditarIsClicked);

            #line default
            #line hidden
                return;

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

            #line 111 "..\..\..\Compra\PCMP_ListadoCompra.xaml"
                this.btnExportar.IsClicked += new ComputerSystems.WPF.Acciones.Controles.Buttons.CmpButtonTitleTeclaExportarExcel.IsClick(this.btnExportarIsClicked);

            #line default
            #line hidden
                return;

            case 13:
                this.dtgCompra = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 14:
                this.lblCountItems = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
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;
        }