protected override void OnInit(EventArgs e) { base.OnInit(e); _textCtl.Attributes.Add("class", "BBCodeEditor"); // add popmenu to this mix... _popMenu = new YAF.Controls.PopMenu(); this.Controls.Add(_popMenu); }
protected override void OnInit( EventArgs e ) { base.OnInit( e ); _textCtl.Attributes.Add( "class", "BBCodeEditor" ); // add popmenu to this mix... _popMenu = new YAF.Controls.PopMenu(); this.Controls.Add( _popMenu ); }