System.ComponentModel.Component默认的Designer是哪个类?

leonchenjian 2005-10-24 10:12:29
就是继承Component后 在Visual Studio中显示“To add Components to your class,drag item from the Toolbox ....."的那个Designer
...全文
117 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
leonchenjian 2005-10-24
  • 打赏
  • 举报
回复
UP
leonchenjian 2005-10-24
  • 打赏
  • 举报
回复
不是那个, 我是指可以用如下方式指定的Designer(CustomizedDesigner所在位置)
[Designer(typeof(CustomizedDesigner), typeof(IRootDesigner))]
public class CustomizedComponent : Component
{
}
麻烦大家了~
ET2004 2005-10-24
  • 打赏
  • 举报
回复
System.ComponentModel.Design.ComponentDesigner
leonchenjian 2005-10-24
  • 打赏
  • 举报
回复
自己找到了, 还是谢谢两位~
mba9001 2005-10-24
  • 打赏
  • 举报
回复
System.ComponentModel.DesignerAttribute;
[AttributeUsage(AttributeTargets.Class |AttributeTargets.Interface)]
public sealed class DesignerAttribute : Attribute
leonchenjian 2005-10-24
  • 打赏
  • 举报
回复
UP

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧