提交当前本机整理版本
This commit is contained in:
@@ -306,4 +306,45 @@ namespace Lskj.Control
|
||||
{
|
||||
get
|
||||
{
|
||||
return TextEdit.Propert
|
||||
return TextEdit.Properties.Appearance.ForeColor;
|
||||
}
|
||||
set
|
||||
{
|
||||
TextEdit.Properties.Appearance.ForeColor = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 内容加粗
|
||||
/// </summary>
|
||||
/// <value>The color of the required label.</value>
|
||||
public override bool ContentBold
|
||||
{
|
||||
get
|
||||
{
|
||||
return TextEdit.Properties.Appearance.Font.Bold;
|
||||
}
|
||||
set
|
||||
{
|
||||
Font oldFont = TextEdit.Properties.Appearance.Font;
|
||||
TextEdit.Properties.Appearance.Font = new Font(oldFont.FontFamily, oldFont.Size, value ? FontStyle.Bold : FontStyle.Regular);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
class ComboBoxModel
|
||||
{
|
||||
public string ValueMember;
|
||||
public string DisplayMember;
|
||||
public DataRow RowItem;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return this.RowItem[DisplayMember] + "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user