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