void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txtProducto = ((app1.AutoCompleteTextbox)(target)); return; case 2: this.txtCantidad = ((System.Windows.Controls.TextBox)(target)); #line 22 "..\..\MainWindow.xaml" this.txtCantidad.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged); #line default #line hidden #line 22 "..\..\MainWindow.xaml" this.txtCantidad.KeyDown += new System.Windows.Input.KeyEventHandler(this.numerosTextBox_keyDown); #line default #line hidden return; case 3: this.txtProveedor = ((app1.AutoCompleteTextbox)(target)); return; case 4: #line 24 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RegistroIngresos); #line default #line hidden return; case 5: this.txtSalidaProducto = ((app1.AutoCompleteTextbox)(target)); return; case 6: this.txtSalidaCantidad = ((System.Windows.Controls.TextBox)(target)); #line 32 "..\..\MainWindow.xaml" this.txtSalidaCantidad.KeyDown += new System.Windows.Input.KeyEventHandler(this.numerosTextBox_keyDown); #line default #line hidden return; case 7: this.txtSalidaCliente = ((app1.AutoCompleteTextbox)(target)); return; case 8: #line 34 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RegistroSalidas); #line default #line hidden return; case 9: this.datosGrid = ((System.Windows.Controls.DataGrid)(target)); #line 35 "..\..\MainWindow.xaml" this.datosGrid.Loaded += new System.Windows.RoutedEventHandler(this.DataGrid_Loaded); #line default #line hidden return; case 10: this.txtBusquedaReporte = ((app1.AutoCompleteTextbox)(target)); return; case 11: this.dateFechaInicio = ((System.Windows.Controls.DatePicker)(target)); return; case 12: this.dateFechaFin = ((System.Windows.Controls.DatePicker)(target)); return; case 13: #line 60 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GenerarReporte); #line default #line hidden return; case 14: this.txtNitProveedor = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.txtNombreProveedor = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.btnIngresoProveedor = ((System.Windows.Controls.Button)(target)); #line 75 "..\..\MainWindow.xaml" this.btnIngresoProveedor.Click += new System.Windows.RoutedEventHandler(this.btnIngresoProveedor_Click); #line default #line hidden return; case 17: this.txtidCliente = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.txtNombrecliente = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.btnIngresoCliente = ((System.Windows.Controls.Button)(target)); #line 83 "..\..\MainWindow.xaml" this.btnIngresoCliente.Click += new System.Windows.RoutedEventHandler(this.btnIngresoCliente_Click); #line default #line hidden return; case 20: this.txtNombreCategoria = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.btnIngresoCategoria = ((System.Windows.Controls.Button)(target)); #line 90 "..\..\MainWindow.xaml" this.btnIngresoCategoria.Click += new System.Windows.RoutedEventHandler(this.btnIngresoCategoria_Click); #line default #line hidden return; case 22: this.cmbIngCategoria = ((System.Windows.Controls.ComboBox)(target)); return; case 23: this.txtCodIngProducto = ((System.Windows.Controls.TextBox)(target)); #line 102 "..\..\MainWindow.xaml" this.txtCodIngProducto.KeyDown += new System.Windows.Input.KeyEventHandler(this.numerosTextBox_keyDown); #line default #line hidden return; case 24: this.txtNombreProducto = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.txtUnidadIngProducto = ((System.Windows.Controls.TextBox)(target)); return; case 26: this.txtVlrUnitarioProducto = ((System.Windows.Controls.TextBox)(target)); #line 105 "..\..\MainWindow.xaml" this.txtVlrUnitarioProducto.KeyDown += new System.Windows.Input.KeyEventHandler(this.numerosTextBox_keyDown); #line default #line hidden return; case 27: this.imgIngresoProducto = ((System.Windows.Controls.Image)(target)); return; case 28: this.txtRutaImgIngProducto = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.btnIngImagenProducto = ((System.Windows.Controls.Button)(target)); #line 109 "..\..\MainWindow.xaml" this.btnIngImagenProducto.Click += new System.Windows.RoutedEventHandler(this.btnIngImagenProducto_Click); #line default #line hidden return; case 30: this.btnIngresoProducto = ((System.Windows.Controls.Button)(target)); #line 110 "..\..\MainWindow.xaml" this.btnIngresoProducto.Click += new System.Windows.RoutedEventHandler(this.btnIngresoProducto_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txtProducto = ((app1.AutoCompleteTextbox)(target)); return; case 2: #line 19 "..\..\MainWindow.xaml" ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged); #line default #line hidden return; case 3: this.txtProveedor = ((app1.AutoCompleteTextbox)(target)); return; case 4: this.txtNitProveedor = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtNombreProveedor = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.btnIngresoProveedor = ((System.Windows.Controls.Button)(target)); #line 40 "..\..\MainWindow.xaml" this.btnIngresoProveedor.Click += new System.Windows.RoutedEventHandler(this.btnIngresoProveedor_Click); #line default #line hidden return; case 7: this.txtidCliente = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.txtNombrecliente = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.btnIngresoCliente = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\MainWindow.xaml" this.btnIngresoCliente.Click += new System.Windows.RoutedEventHandler(this.btnIngresoCliente_Click); #line default #line hidden return; case 10: this.txtNombreCategoria = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.btnIngresoCategoria = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\MainWindow.xaml" this.btnIngresoCategoria.Click += new System.Windows.RoutedEventHandler(this.btnIngresoCategoria_Click); #line default #line hidden return; case 12: this.cmbIngCategoria = ((System.Windows.Controls.ComboBox)(target)); return; case 13: this.txtCodIngProducto = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.txtNombreProducto = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.txtProveedorIngProducto = ((app1.AutoCompleteTextbox)(target)); return; case 16: this.txtUnidadIngProducto = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.txtVlrUnitarioProducto = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.imgIngresoProducto = ((System.Windows.Controls.Image)(target)); return; case 19: this.txtRutaImgIngProducto = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.btnIngImagenProducto = ((System.Windows.Controls.Button)(target)); #line 76 "..\..\MainWindow.xaml" this.btnIngImagenProducto.Click += new System.Windows.RoutedEventHandler(this.btnIngImagenProducto_Click); #line default #line hidden return; case 21: this.btnIngresoProducto = ((System.Windows.Controls.Button)(target)); #line 77 "..\..\MainWindow.xaml" this.btnIngresoProducto.Click += new System.Windows.RoutedEventHandler(this.btnIngresoProducto_Click); #line default #line hidden return; } this._contentLoaded = true; }