private void Button_Click_1(object sender, RoutedEventArgs e) { prueba3 ct = new prueba3(); ct.ShowDialog(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.win_modificar_insumo = ((AplicacionBar.prueba3)(target)); #line 10 "..\..\ModificarInsumo.xaml" this.win_modificar_insumo.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.lb_nombreusuario = ((System.Windows.Controls.Label)(target)); return; case 3: this.rbt_ing = ((System.Windows.Controls.RadioButton)(target)); #line 14 "..\..\ModificarInsumo.xaml" this.rbt_ing.Checked += new System.Windows.RoutedEventHandler(this.rbt_ing_Checked); #line default #line hidden return; case 4: this.rbt_bebi = ((System.Windows.Controls.RadioButton)(target)); #line 15 "..\..\ModificarInsumo.xaml" this.rbt_bebi.Checked += new System.Windows.RoutedEventHandler(this.rbt_bebi_Checked); #line default #line hidden return; case 5: this.txt_id_bebida = ((System.Windows.Controls.TextBox)(target)); #line 16 "..\..\ModificarInsumo.xaml" this.txt_id_bebida.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_id_bebida_PreviewTextInput); #line default #line hidden #line 16 "..\..\ModificarInsumo.xaml" this.txt_id_bebida.GotFocus += new System.Windows.RoutedEventHandler(this.txt_id_bebida_GotFocus); #line default #line hidden return; case 6: this.txt_id_alimento = ((System.Windows.Controls.TextBox)(target)); #line 17 "..\..\ModificarInsumo.xaml" this.txt_id_alimento.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_id_alimento_PreviewTextInput); #line default #line hidden #line 17 "..\..\ModificarInsumo.xaml" this.txt_id_alimento.GotFocus += new System.Windows.RoutedEventHandler(this.txt_id_alimento_GotFocus); #line default #line hidden return; case 7: this.Buscar_ID = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\ModificarInsumo.xaml" this.Buscar_ID.Click += new System.Windows.RoutedEventHandler(this.Buscar_ID_Click); #line default #line hidden return; case 8: this.txt_nombre_ali = ((System.Windows.Controls.TextBox)(target)); #line 19 "..\..\ModificarInsumo.xaml" this.txt_nombre_ali.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_nombre_ali_PreviewTextInput); #line default #line hidden #line 19 "..\..\ModificarInsumo.xaml" this.txt_nombre_ali.GotFocus += new System.Windows.RoutedEventHandler(this.txt_nombre_ali_GotFocus); #line default #line hidden return; case 9: this.txt_nombre_bebi = ((System.Windows.Controls.TextBox)(target)); #line 20 "..\..\ModificarInsumo.xaml" this.txt_nombre_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_nombre_bebi_PreviewTextInput); #line default #line hidden #line 20 "..\..\ModificarInsumo.xaml" this.txt_nombre_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_nombre_bebi_GotFocus); #line default #line hidden return; case 10: this.txt_stock_bebi = ((System.Windows.Controls.TextBox)(target)); #line 21 "..\..\ModificarInsumo.xaml" this.txt_stock_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_stock_bebi_PreviewTextInput); #line default #line hidden #line 21 "..\..\ModificarInsumo.xaml" this.txt_stock_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_stock_bebi_GotFocus); #line default #line hidden return; case 11: this.txt_stock_ali = ((System.Windows.Controls.TextBox)(target)); #line 22 "..\..\ModificarInsumo.xaml" this.txt_stock_ali.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_stock_ali_PreviewTextInput); #line default #line hidden #line 22 "..\..\ModificarInsumo.xaml" this.txt_stock_ali.GotFocus += new System.Windows.RoutedEventHandler(this.txt_stock_ali_GotFocus); #line default #line hidden return; case 12: this.txt_stock_critico = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.txt_stock_coci_alimento = ((System.Windows.Controls.TextBox)(target)); #line 24 "..\..\ModificarInsumo.xaml" this.txt_stock_coci_alimento.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_stock_coci_alimento_PreviewTextInput); #line default #line hidden #line 24 "..\..\ModificarInsumo.xaml" this.txt_stock_coci_alimento.GotFocus += new System.Windows.RoutedEventHandler(this.txt_stock_coci_alimento_GotFocus); #line default #line hidden return; case 14: this.txt_stock_bar_bebi = ((System.Windows.Controls.TextBox)(target)); #line 25 "..\..\ModificarInsumo.xaml" this.txt_stock_bar_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_stock_bar_bebi_PreviewTextInput); #line default #line hidden #line 25 "..\..\ModificarInsumo.xaml" this.txt_stock_bar_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_stock_bar_bebi_GotFocus); #line default #line hidden return; case 15: this.txt_proveedor = ((System.Windows.Controls.ComboBox)(target)); #line 26 "..\..\ModificarInsumo.xaml" this.txt_proveedor.GotFocus += new System.Windows.RoutedEventHandler(this.txt_proveedor_GotFocus); #line default #line hidden return; case 16: this.cmb_habili_ing = ((System.Windows.Controls.ComboBox)(target)); #line 27 "..\..\ModificarInsumo.xaml" this.cmb_habili_ing.GotFocus += new System.Windows.RoutedEventHandler(this.cmb_habili_ing_GotFocus); #line default #line hidden return; case 17: this.si_habilitado1 = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 18: this.no_habilitado1 = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 19: this.txt_precio_bebi = ((System.Windows.Controls.TextBox)(target)); #line 31 "..\..\ModificarInsumo.xaml" this.txt_precio_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_precio_bebi_PreviewTextInput); #line default #line hidden #line 31 "..\..\ModificarInsumo.xaml" this.txt_precio_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_precio_bebi_GotFocus); #line default #line hidden return; case 20: this.cmb_habili_bebi = ((System.Windows.Controls.ComboBox)(target)); #line 32 "..\..\ModificarInsumo.xaml" this.cmb_habili_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.cmb_habili_bebi_GotFocus); #line default #line hidden return; case 21: this.si_habilitado = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 22: this.no_habilitado = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 23: this.cmb_conpre_bebi = ((System.Windows.Controls.ComboBox)(target)); #line 36 "..\..\ModificarInsumo.xaml" this.cmb_conpre_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.cmb_conpre_bebi_GotFocus); #line default #line hidden return; case 24: this.si_con = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 25: this.no_con = ((System.Windows.Controls.ComboBoxItem)(target)); return; case 26: this.Modificar_id = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\ModificarInsumo.xaml" this.Modificar_id.Click += new System.Windows.RoutedEventHandler(this.Modificar_id_Click); #line default #line hidden return; case 27: this.btn_volver = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\ModificarInsumo.xaml" this.btn_volver.Click += new System.Windows.RoutedEventHandler(this.Btn_volver_Click); #line default #line hidden return; case 28: this.dtg_modi = ((System.Windows.Controls.DataGrid)(target)); return; case 29: this.lbl_insumo_alimento = ((System.Windows.Controls.Label)(target)); return; case 30: this.lbl_stock_alimento = ((System.Windows.Controls.Label)(target)); return; case 31: this.lbl_insumo_bebi = ((System.Windows.Controls.Label)(target)); return; case 32: this.lbl_stock_coci_alimento = ((System.Windows.Controls.Label)(target)); return; case 33: this.lbl_stock_bebi = ((System.Windows.Controls.Label)(target)); return; case 34: this.lbl_stock_coci_bebi = ((System.Windows.Controls.Label)(target)); return; case 35: this.lbl_alimento = ((System.Windows.Controls.Label)(target)); return; case 36: this.lbl_marca_bebi = ((System.Windows.Controls.Label)(target)); return; case 37: this.txt_marca_bebi = ((System.Windows.Controls.TextBox)(target)); #line 53 "..\..\ModificarInsumo.xaml" this.txt_marca_bebi.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_marca_bebi_PreviewTextInput); #line default #line hidden #line 53 "..\..\ModificarInsumo.xaml" this.txt_marca_bebi.GotFocus += new System.Windows.RoutedEventHandler(this.txt_marca_bebi_GotFocus); #line default #line hidden return; case 38: this.lbl_precio_bebi = ((System.Windows.Controls.Label)(target)); return; case 39: this.lbl_habili_bebi = ((System.Windows.Controls.Label)(target)); return; case 40: this.lbl_conpre_bebi = ((System.Windows.Controls.Label)(target)); return; case 41: this.lbl_idbebi = ((System.Windows.Controls.Label)(target)); return; case 42: this.lbl_iding = ((System.Windows.Controls.Label)(target)); return; case 43: this.lbl_habili_ing = ((System.Windows.Controls.Label)(target)); return; case 44: this.lbl1 = ((System.Windows.Controls.Label)(target)); return; case 45: this.lbl7 = ((System.Windows.Controls.Label)(target)); return; case 46: this.lbl3 = ((System.Windows.Controls.Label)(target)); return; case 47: this.lbl4 = ((System.Windows.Controls.Label)(target)); return; case 48: this.lbl5 = ((System.Windows.Controls.Label)(target)); return; case 49: this.lbl6 = ((System.Windows.Controls.Label)(target)); return; case 50: this.lbl2 = ((System.Windows.Controls.Label)(target)); return; case 51: this.lbl8 = ((System.Windows.Controls.Label)(target)); return; case 52: this.lb_stock_critico = ((System.Windows.Controls.Label)(target)); return; case 53: this.lb_stockCritico = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }