using System; using System.Windows.Forms.Design; //If you are misssing ParentControlDesigner, then don't forget that you need a reference in //this project to System.Design namespace Gui.Wizard { /// /// /// public class InfoPageDesigner : ParentControlDesigner { /// /// Prevents the grid from being drawn on the Wizard /// protected override bool DrawGrid { get { return false; } } /// /// Drops the BackgroundImage property /// /// properties to remove BackGroundImage from protected override void PreFilterProperties(System.Collections.IDictionary properties) { base.PreFilterProperties (properties); if (properties.Contains("BackgroundImage") == true) properties.Remove("BackgroundImage"); } } }