/// <summary> /// Releases the unmanaged resources that are used by the <see cref="T:System.Web.UI.Design.HtmlControlDesigner"/> object and optionally releases the managed resources. /// </summary> /// <param name="disposing"> /// true to release both managed and unmanaged resources; false to release only unmanaged resources. /// </param> protected override void Dispose(bool disposing) { if (disposing) { this.DisposeTemplateVerbs(); this.desktopPanes = null; } this.Dispose(disposing); }
/// <summary> /// Initializes the designer and loads the specified component. /// </summary> /// <param name="component"> /// The control element being designed. /// </param> public override void Initialize(IComponent component) { this.desktopPanes = (DesktopPanes)component; base.Initialize(component); }