private void btnmodificar_Click(object sender, RoutedEventArgs e) { ModificarProveedor modiopro = new ModificarProveedor(); modiopro.ShowDialog(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.win_modificarprov = ((restaurantexxi_adminstrador.ModificarProveedor)(target)); #line 9 "..\..\ModificarProveedor.xaml" this.win_modificarprov.Loaded += new System.Windows.RoutedEventHandler(this.Win_modificarprov_Loaded); #line default #line hidden return; case 2: this.lb_nombreusuario = ((System.Windows.Controls.Label)(target)); return; case 3: this.txt_id = ((System.Windows.Controls.TextBox)(target)); #line 20 "..\..\ModificarProveedor.xaml" this.txt_id.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_id_GotFocus); #line default #line hidden return; case 4: this.txt_nombre = ((System.Windows.Controls.TextBox)(target)); #line 21 "..\..\ModificarProveedor.xaml" this.txt_nombre.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_nombre_GotFocus); #line default #line hidden return; case 5: this.txt_fono = ((System.Windows.Controls.TextBox)(target)); #line 22 "..\..\ModificarProveedor.xaml" this.txt_fono.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_fono_GotFocus); #line default #line hidden return; case 6: this.txt_mail = ((System.Windows.Controls.TextBox)(target)); #line 23 "..\..\ModificarProveedor.xaml" this.txt_mail.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_mail_GotFocus); #line default #line hidden return; case 7: this.txt_direccion = ((System.Windows.Controls.TextBox)(target)); #line 24 "..\..\ModificarProveedor.xaml" this.txt_direccion.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_direccion_GotFocus); #line default #line hidden return; case 8: this.txt_descripcion = ((System.Windows.Controls.TextBox)(target)); #line 26 "..\..\ModificarProveedor.xaml" this.txt_descripcion.GotFocus += new System.Windows.RoutedEventHandler(this.Txt_descripcion_GotFocus); #line default #line hidden return; case 9: this.btn_modificar = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\ModificarProveedor.xaml" this.btn_modificar.Click += new System.Windows.RoutedEventHandler(this.Btn_modificar_Click); #line default #line hidden return; case 10: this.volver = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\ModificarProveedor.xaml" this.volver.Click += new System.Windows.RoutedEventHandler(this.Volver_Click); #line default #line hidden return; case 11: this.btn_buscar = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\ModificarProveedor.xaml" this.btn_buscar.Click += new System.Windows.RoutedEventHandler(this.Btn_buscar_Click); #line default #line hidden return; case 12: this.lb1 = ((System.Windows.Controls.Label)(target)); return; case 13: this.lb2 = ((System.Windows.Controls.Label)(target)); return; case 14: this.lb3 = ((System.Windows.Controls.Label)(target)); return; case 15: this.lb4 = ((System.Windows.Controls.Label)(target)); return; case 16: this.lb5 = ((System.Windows.Controls.Label)(target)); return; case 17: this.lbid = ((System.Windows.Controls.Label)(target)); return; case 18: this.dtg_provaux = ((System.Windows.Controls.DataGrid)(target)); #line 36 "..\..\ModificarProveedor.xaml" this.dtg_provaux.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dtg_provaux_SelectionChanged); #line default #line hidden return; } this._contentLoaded = true; }