private void BtnAgregarEducacion_Click(object sender, RoutedEventArgs e) { EducacionFrm Frm = new EducacionFrm(Empleado); Frm.ShowDialog(); RefreshDGEducacion(); }
private void BtnEduUpdate_Click(object sender, RoutedEventArgs e) { Console.WriteLine("ACTUALIZANDO" + ((Button)e.Source).CommandParameter); DEducacion resp = ListaEducacion[(int)((Button)e.Source).CommandParameter]; EducacionFrm frm = new EducacionFrm(this); frm.Type = TypeForm.Update; frm.DataFill = resp; frm.ShowDialog(); }
private void BtnEduUpdate_Click(object sender, RoutedEventArgs e) { Console.WriteLine("ACTUALIZANDO" + ((Button)e.Source).CommandParameter); DEducacion resp = methodEdu.Encontrar((int)((Button)e.Source).CommandParameter)[0]; EducacionFrm frm = new EducacionFrm(Empleado); frm.Type = TypeForm.Update; frm.DataFill = resp; frm.ShowDialog(); RefreshDGEducacion(); }
private void BtnAgregarEducacion_Click(object sender, RoutedEventArgs e) { EducacionFrm Frm = new EducacionFrm(this); Frm.ShowDialog(); }