private string tietle = "出水管温度";
[Browsable(true)]
[Category("自定义设置")]
[Description("标题设置")]
public string Tietle
{
get { return tietle; }
set
{
tietle = value;
this.btn_Tietle.Text = tietle;
}
}
c# 自定义控件 属性写法
未经允许不得转载:武林网 » c# 自定义控件 属性写法

武林网