C# Winform常见的Editor及其它经验
摘要:
1、新建一个自定义Editor,继承自.NET自带的Editor,override某些方法,再附加到属性中:public class MyCollectionEditor : CollectionEditor{ public MyCollectionEditor(Type type) : base(type) { } protected override void ShowHelp() { MessageBox.Show("别点了,点了也没用。"); }}[Editor(typeof(MyCollectionEditor), typeof(UI... 阅读全文
posted @ 2013-06-25 22:02 yao2yao4 阅读(7677) 评论(0) 推荐(2) 编辑