控件中屬性有 PropertyAttribute和EventAttribute
EventAttribute有: BrowsableAttribute 、CategoryAttribute、DescriptionAttribute、DefaultEventAttribute PropertyAttribute有: BrowsableAttribute 、CategoryAttribute、DescriptionAttribute、DefaultPropertyAttribute、DefaultValueAttribute、EditorAttribute 、DesignerSerializationVisibilityAttribute、TypeConverterAttribute、BindableAttribute、LocalizableAttribute
上述的Attribute简明阐述如下: BrowsableAttribute:在Property窗口中是否可见。 CategoryAttribute:Property或者Event所属的哪个组。 DescriptionAttribute:Property或者Event的简单描述。 DefaultEventAttribute:默认Event、。 DefaultPropertyAttribute:默认Property,选中组件,其Property窗口中默认选中在这个Property上。 DefaultValueAttribute:Property的默认值,选中组件,其Event窗口中默认选中在这个Event上。