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