1
我有一个自定义窗体名称“Form1”,我想通过propertygrid控件打开。属性网格自定义编辑器
这里
[CategoryAttribute("Extended Properties"),
EditorAttribute(typeof(System.Windows.Forms.Form1), typeof(System.Drawing.Design.UITypeEditor))]
[TypeConverter(typeof(ExpandableObjectConverter))]
public string Path { get; set; }
非常感谢您的回复。我给你投票了,但我会稍后尝试,如果它有效我会将你的答案标记为正确答案 再次感谢你 –