* 修改控件默认值

This commit is contained in:
Sunny 2022-01-02 14:22:04 +08:00
parent 629f20b503
commit b531ae0931
9 changed files with 8 additions and 8 deletions

Binary file not shown.

View File

@ -38,7 +38,7 @@ namespace Sunny.UI
Version = UIGlobal.Version;
}
[Browsable(false)]
[Browsable(false), DefaultValue(false)]
public bool IsScaled { get; set; }
public void SetDPIScale()

View File

@ -46,7 +46,7 @@ namespace Sunny.UI
base.MinimumSize = new Size(1, 1);
}
[Browsable(false)]
[Browsable(false), DefaultValue(false)]
public bool IsScaled { get; set; }
public virtual void SetDPIScale()

View File

@ -49,7 +49,7 @@ namespace Sunny.UI
JoinEvents(true);
}
[Browsable(false)]
[Browsable(false), DefaultValue(false)]
public bool IsScaled { get; set; }
public void SetDPIScale()

View File

@ -369,7 +369,7 @@ namespace Sunny.UI
}
}
[Browsable(false)]
[Browsable(false), DefaultValue(false)]
public bool IsScaled { get; set; }
public void SetDPIScale()

View File

@ -55,7 +55,7 @@ namespace Sunny.UI
}
}
[Browsable(false)]
[Browsable(false), DefaultValue(false)]
public bool IsScaled { get; set; }
public void SetDPIScale()

View File

@ -616,7 +616,7 @@ namespace Sunny.UI
[Description("获取或设置包含有关控件的数据的对象字符串"), Category("SunnyUI")]
public string TagString { get; set; }
[Browsable(false)]
[Browsable(false), DefaultValue(false)]
public bool IsScaled { get; set; }
public void SetDPIScale()

View File

@ -54,7 +54,7 @@ namespace Sunny.UI
SetStyleFlags(true, false);
}
[Browsable(false)]
[Browsable(false), DefaultValue(false)]
public bool IsScaled { get; set; }
public virtual void SetDPIScale()

View File

@ -664,7 +664,7 @@ namespace Sunny.UI
base.DoubleBuffered = true;
}
[Browsable(false)]
[Browsable(false), DefaultValue(false)]
public bool IsScaled { get; set; }
public void SetDPIScale()