private void Nuevo_Doc_Closed(object sender, EventArgs e) { Nuevo_Doc ventana = sender as Nuevo_Doc; // (refrescar) QuitarEfecto(this); }
private void Nuevo_Doc_Closed(object sender, EventArgs e) { Nuevo_Doc ventana = sender as Nuevo_Doc; // (refrescar) this.IsEnabled = true; //QuitarEfecto(this); Buscar_Locales(); }
private void Nuevo_Doc_Closed(object sender, EventArgs e) { Nuevo_Doc ventana = sender as Nuevo_Doc; Refresh_Docs(); // (refrescar) //QuitarEfecto(this); this.IsEnabled = true; }
private void btn_nue_adenda_Click(object sender, RoutedEventArgs e) { // Se debe capturar el código DataRowView row = (DataRowView)((Button)e.Source).DataContext; string codigo = (String)row["id"].ToString(); string tipo = (String)row["tipo"].ToString(); if (!Nuevo_Doc._activo_form) { Nuevo_Doc frm2 = new Nuevo_Doc(codigo, tipo, "A"); frm2.Owner = this; AplicarEfecto(this); frm2.Show(); Nuevo_Doc._activo_form = true; frm2.Closed += Nuevo_Doc_Closed; } }