コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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);
        }
コード例 #3
0
        /// <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);
        }
コード例 #4
0
        /// <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);
        }