コード例 #1
0
        /// <summary>
        /// Raises the <see cref="E:System.Web.UI.Control.Init" /> event.
        /// </summary>
        /// <param name="e">An <see cref="T:System.EventArgs" /> object that contains the event data.</param>
        protected override void OnInit([NotNull] EventArgs e)
        {
            base.OnInit(e);
            this.TextAreaControl.Attributes.Add("class", "BBCodeEditor form-control");

            // add PopMenu Albums to this mix...
            this.popMenuAlbums = new AlbumListPopMenu();
            this.Controls.Add(this.popMenuAlbums);
        }
コード例 #2
0
        /// <summary>
        /// Raises the <see cref="E:System.Web.UI.Control.Init" /> event.
        /// </summary>
        /// <param name="e">An <see cref="T:System.EventArgs" /> object that contains the event data.</param>
        protected override void OnInit([NotNull] EventArgs e)
        {
            base.OnInit(e);
            this._textCtl.Attributes.Add("class", "BBCodeEditor");

            // add popmenu BB Custom to this mix...
            this._popMenuBBCustom = new PopMenu();
            this.Controls.Add(this._popMenuBBCustom);

            // add popmenu BB Code to this mix...
            this._popMenuBBCode = new PopMenu();
            this.Controls.Add(this._popMenuBBCode);

            // add popmenu Albums to this mix...
            this._popMenuAlbums = new AlbumListPopMenu();
            this.Controls.Add(this._popMenuAlbums);
        }