SVN r1230
SVN-Revision: r1230
This commit is contained in:
@@ -269,4 +269,41 @@ namespace Lskj.Control
|
||||
ComboBoxModel model = new ComboBoxModel
|
||||
{
|
||||
ValueMember = ValueField,
|
||||
D
|
||||
DisplayMember = TextField,
|
||||
RowItem = item
|
||||
};
|
||||
this._sources.Add(model);
|
||||
this.txtEdit.Properties.Items.Add(model);
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 背景颜色
|
||||
/// </summary>
|
||||
/// <value>The color of the required label.</value>
|
||||
public override Color BackgroundColor
|
||||
{
|
||||
get
|
||||
{
|
||||
return TextEdit.Properties.Appearance.BackColor;
|
||||
}
|
||||
set
|
||||
{
|
||||
TextEdit.Properties.Appearance.BackColor = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 前景颜色
|
||||
/// </summary>
|
||||
/// <value>The color of the required label.</value>
|
||||
public override Color ForeColor
|
||||
{
|
||||
get
|
||||
{
|
||||
return TextEdit.Propert
|
||||
Reference in New Issue
Block a user