namespace Yw.WinFrmUI
{
///
/// 用于显示的单位(propertyGrid中使用)
///
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class DisplayUnitAttribute : Attribute
{
///
///
///
public string Unit { get; set; }
///
///
///
///
public DisplayUnitAttribute(string unit)
{
this.Unit = unit;
}
}
}