提交当前本机整理版本

This commit is contained in:
cyf
2026-07-02 10:11:39 +00:00
parent c10a5d64c7
commit aacefa24f8
822 changed files with 196665 additions and 14263 deletions
+38 -1
View File
@@ -117,4 +117,41 @@ namespace Lskj.Control
/// <summary>
/// 是否只读
/// </summary>
/// <v
/// <value>The color of the read only label.</value>
public override bool ReadOnly
{
get
{
return !this.TextEdit.Enabled;
}
set
{
base.ReadOnly = value;
this.TextEdit.Enabled = !value;
this.lblText.ForeColor = value ? base.ReadOnlyLabelForceColor : Required ? base.RequiredLabelForceColor : base.DefaultLabelForceColor;
}
}
/// <summary>
/// 必填文本颜色
/// </summary>
/// <value>The color of the required label.</value>
public override bool Required
{
get
{
return base.Required;
}
set
{
base.Required = value;
if (value)
{
this.lblText.ForeColor = base.RequiredLabelForceColor;
}
}
}
}
}