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