自定义的控件继承了TextBox,按照网上几遍文章,添加了智能标记相关代码。
相应的智能标记也能看到了,可是原来TextBox的智能标记看不到了。
 public override DesignerActionItemCollection GetSortedActionItems()
             {                 DesignerActionItemCollection items = new DesignerActionItemCollection();
                 if (DockStyle.None == adSchedule.Dock)
                     items.Add(new DesignerActionMethodItem(this, "ParentComponentStop", "在父容器中停靠"));
                 else
                     items.Add(new DesignerActionMethodItem(this, "CancelParentComponentStop", "取消在父容器中停靠"));
                 return items;
             }
应该和上面的 DesignerActionItemCollection items = new DesignerActionItemCollection();
有关,怎样获取原来TextBox的DesignerActionItemCollection集合,
谢谢