Example #1
0
 /// <summary>Aplica las reglas de validaciĆ³n de usuarios al formulario.
 /// <returns>void</returns>
 /// </summary>
 protected override void ApplyAuthorizationRules()
 {
     Tabla.Visible         = Examen.CanGetObject();
     Add_Button.Enabled    = Examen.CanAddObject();
     Edit_Button.Enabled   = Examen.CanEditObject();
     Delete_Button.Enabled = Examen.CanDeleteObject();
     Print_Button.Enabled  = Examen.CanGetObject();
     View_Button.Enabled   = Examen.CanGetObject();
 }