菜鸟请问关于PropertyGrid 控件的简单问题,谢谢
苦茶爷爷 2014-02-20 09:00:38 我有个抽象类,是画图的a.cs。
里面有属性和字段若干。
比如 private Color color;
private int penWidth;
然后我有个类是继承这个抽象类的b.cs。
现在我想通过PropertyGrid 控件,来实现对颜色和粗细的交互编辑。
请问我该如何做?
我参考了这篇文章。
http://blog.csdn.net/luckypeng/article/details/19158837
我的疑问是:
public OptionsDialog()
放到哪里?是form.cs?
还是a.cs?b.cs?
谢谢!