void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Win_crear_insumo = ((AplicacionBar.pruebas)(target)); #line 9 "..\..\Agregarinsumo.xaml" this.Win_crear_insumo.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.txt_habilitado_bebi = ((System.Windows.Controls.Grid)(target)); return; case 3: this.lb_nombreusuario = ((System.Windows.Controls.Label)(target)); return; case 4: this.rbt_alimentos = ((System.Windows.Controls.RadioButton)(target)); #line 14 "..\..\Agregarinsumo.xaml" this.rbt_alimentos.Checked += new System.Windows.RoutedEventHandler(this.rbt_alimentos_Checked); #line default #line hidden return; case 5: this.rbt_bebestibles = ((System.Windows.Controls.RadioButton)(target)); #line 15 "..\..\Agregarinsumo.xaml" this.rbt_bebestibles.Checked += new System.Windows.RoutedEventHandler(this.rbt_bebestibles_Checked); #line default #line hidden return; case 6: this.lbl_insumo_alimento = ((System.Windows.Controls.Label)(target)); return; case 7: this.lbl_stock_alimento = ((System.Windows.Controls.Label)(target)); return; case 8: this.lbl_insumo_bebi = ((System.Windows.Controls.Label)(target)); return; case 9: this.lbl_stock_coci_alimento = ((System.Windows.Controls.Label)(target)); return; case 10: this.lbl_stock_bebi = ((System.Windows.Controls.Label)(target)); return; case 11: this.lbl_stock_coci_bebi = ((System.Windows.Controls.Label)(target)); return; case 12: this.lbl_alimento = ((System.Windows.Controls.Label)(target)); return; case 13: this.lbl_marca_bebi = ((System.Windows.Controls.Label)(target)); return; case 14: this.txt_stock_coci_bebi = ((System.Windows.Controls.TextBox)(target)); #line 24 "..\..\Agregarinsumo.xaml" this.txt_stock_coci_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_stock_coci_bebi_PreviewTextInput); #line default #line hidden #line 24 "..\..\Agregarinsumo.xaml" this.txt_stock_coci_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_stock_coci_bebi_GotFocus); #line default #line hidden return; case 15: this.txt_stock_alimento = ((System.Windows.Controls.TextBox)(target)); #line 25 "..\..\Agregarinsumo.xaml" this.txt_stock_alimento.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_stock_alimento_PreviewTextInput); #line default #line hidden #line 25 "..\..\Agregarinsumo.xaml" this.txt_stock_alimento.GotFocus += new System.Windows.RoutedEventHandler(this.txt_stock_alimento_GotFocus); #line default #line hidden return; case 16: this.txt_stock_coci_alimento = ((System.Windows.Controls.TextBox)(target)); #line 26 "..\..\Agregarinsumo.xaml" this.txt_stock_coci_alimento.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_stock_coci_alimento_PreviewTextInput); #line default #line hidden #line 26 "..\..\Agregarinsumo.xaml" this.txt_stock_coci_alimento.GotFocus += new System.Windows.RoutedEventHandler(this.txt_stock_coci_alimento_GotFocus); #line default #line hidden return; case 17: this.txt_insumo_bebi = ((System.Windows.Controls.TextBox)(target)); #line 27 "..\..\Agregarinsumo.xaml" this.txt_insumo_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_insumo_bebi_PreviewTextInput); #line default #line hidden #line 27 "..\..\Agregarinsumo.xaml" this.txt_insumo_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_insumo_bebi_GotFocus); #line default #line hidden return; case 18: this.txt_stock_bebi = ((System.Windows.Controls.TextBox)(target)); #line 28 "..\..\Agregarinsumo.xaml" this.txt_stock_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_stock_bebi_PreviewTextInput); #line default #line hidden #line 28 "..\..\Agregarinsumo.xaml" this.txt_stock_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_stock_bebi_GotFocus); #line default #line hidden return; case 19: this.txt_marca_bebi = ((System.Windows.Controls.TextBox)(target)); #line 29 "..\..\Agregarinsumo.xaml" this.txt_marca_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_marca_bebi_PreviewTextInput); #line default #line hidden #line 29 "..\..\Agregarinsumo.xaml" this.txt_marca_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_marca_bebi_GotFocus); #line default #line hidden return; case 20: this.txt_insumo_alimento = ((System.Windows.Controls.TextBox)(target)); #line 30 "..\..\Agregarinsumo.xaml" this.txt_insumo_alimento.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_insumo_alimento_PreviewTextInput); #line default #line hidden #line 30 "..\..\Agregarinsumo.xaml" this.txt_insumo_alimento.GotFocus += new System.Windows.RoutedEventHandler(this.txt_insumo_alimento_GotFocus); #line default #line hidden return; case 21: this.btn_crear = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\Agregarinsumo.xaml" this.btn_crear.Click += new System.Windows.RoutedEventHandler(this.btn_crear_Click); #line default #line hidden return; case 22: this.btn_volver = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\Agregarinsumo.xaml" this.btn_volver.Click += new System.Windows.RoutedEventHandler(this.Btn_volver_Click); #line default #line hidden return; case 23: this.lbl_precio_bebi = ((System.Windows.Controls.Label)(target)); return; case 24: this.txt_precio_bebi = ((System.Windows.Controls.TextBox)(target)); #line 34 "..\..\Agregarinsumo.xaml" this.txt_precio_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_precio_bebi_PreviewTextInput); #line default #line hidden #line 34 "..\..\Agregarinsumo.xaml" this.txt_precio_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_precio_bebi_GotFocus); #line default #line hidden return; case 25: this.lbl_imagen_bebi = ((System.Windows.Controls.Label)(target)); return; case 26: this.lbl_habili_bebi = ((System.Windows.Controls.Label)(target)); return; case 27: this.lbl_conpre_bebi = ((System.Windows.Controls.Label)(target)); return; case 28: this.txt_habili_bebi = ((System.Windows.Controls.ComboBox)(target)); #line 38 "..\..\Agregarinsumo.xaml" this.txt_habili_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_habili_bebi_GotFocus); #line default #line hidden return; case 29: this.si_habilitado = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 30: this.no_habilitado = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 31: this.txt_conpre_bebi = ((System.Windows.Controls.ComboBox)(target)); #line 42 "..\..\Agregarinsumo.xaml" this.txt_conpre_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_conpre_bebi_GotFocus); #line default #line hidden return; case 32: this.si_con = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 33: this.no_con = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 34: this.btn_imagen = ((System.Windows.Controls.Button)(target)); #line 46 "..\..\Agregarinsumo.xaml" this.btn_imagen.Click += new System.Windows.RoutedEventHandler(this.btn_imagen_Click); #line default #line hidden return; case 35: this.img_bebi = ((System.Windows.Controls.Image)(target)); return; case 36: this.cmb_proveedor = ((System.Windows.Controls.ComboBox)(target)); #line 48 "..\..\Agregarinsumo.xaml" this.cmb_proveedor.GotFocus += new System.Windows.RoutedEventHandler(this.cmb_proveedor_GotFocus); #line default #line hidden return; case 37: this.lbl_habi_ing = ((System.Windows.Controls.Label)(target)); return; case 38: this.txt_habili_ingre = ((System.Windows.Controls.ComboBox)(target)); #line 50 "..\..\Agregarinsumo.xaml" this.txt_habili_ingre.GotFocus += new System.Windows.RoutedEventHandler(this.txt_habili_ingre_GotFocus); #line default #line hidden return; case 39: this.si_habilitado1 = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 40: this.no_habilitado1 = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 41: this.lbl1 = ((System.Windows.Controls.Label)(target)); return; case 42: this.lbl2 = ((System.Windows.Controls.Label)(target)); return; case 43: this.lbl3 = ((System.Windows.Controls.Label)(target)); return; case 44: this.lbl4 = ((System.Windows.Controls.Label)(target)); return; case 45: this.lbl5 = ((System.Windows.Controls.Label)(target)); return; case 46: this.lbl6 = ((System.Windows.Controls.Label)(target)); return; case 47: this.lbl7 = ((System.Windows.Controls.Label)(target)); return; case 48: this.lbstock_critico = ((System.Windows.Controls.Label)(target)); return; case 49: this.txt_stock_critico = ((System.Windows.Controls.TextBox)(target)); return; case 50: this.lb8 = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
private void btn_aceptar_Click(object sender, RoutedEventArgs e) { pruebas ba = new pruebas(); ba.ShowDialog(); }