protected override void AddExamenAction() { Alumno_ExamenAddForm form = new Alumno_ExamenAddForm(); form.SetSourceData(Entity); form.ShowDialog(); Datos_Alumno_Examen.ResetBindings(false); }
protected override void EditExamenAction() { try { Alumno_Examen current = (Alumno_Examen)Examenes_Grid.CurrentRow.DataBoundItem; if (current != null && current.Presentado) { ExamenInfo examen = ExamenInfo.Get(current.OidExamen, false); if (examen != null && !examen.Desarrollo) { Alumno_ExamenEditForm form = new Alumno_ExamenEditForm(); form.SetSourceData(Entity, current); form.ShowDialog(); Datos_Alumno_Examen.ResetBindings(false); } } } catch { } }