我说了文件 & gt; 新建 & gt; 控制库
以其形式丢弃 ListView, ADDED 是一个新的静态类, 像这样 :
namespace WindowsFormsControlLibrary1
{
public static class TestClass
{
[Category("Appearance")]
public static Color InsertionMarkColor { get; set; }
}
}
But I am expecting to a see a property called InsertionMarkColor when I use this in a test application but it doesn t show there. Why?
Note: If I directly copy-paste that InsertionMarkColor in the source code of the Library, it shows and works but if I want to move it like the code above to a separate class, it doesn t work...What do you think is missing?