SVN r1230
SVN-Revision: r1230
This commit is contained in:
@@ -176,4 +176,39 @@ namespace Lskj.Control
|
||||
{
|
||||
this.popupControl.Size = this.specialDatePopup.Size;
|
||||
this.specialDatePopup.OwnerEdit = this.txtEdit;
|
||||
this.specialDatePopup.SetValue(this
|
||||
this.specialDatePopup.SetValue(this.txtEdit.EditValue + "");
|
||||
}
|
||||
|
||||
private void SpecialDatePopup_ConfirmClick(object sender, System.EventArgs e)
|
||||
{
|
||||
this.txtEdit.EditValue = this.specialDatePopup.SelectedValue;
|
||||
this.txtEdit.ClosePopup();
|
||||
}
|
||||
|
||||
private void SpecialDatePopup_ClearClick(object sender, System.EventArgs e)
|
||||
{
|
||||
this.txtEdit.EditValue = string.Empty;
|
||||
this.txtEdit.ClosePopup();
|
||||
}
|
||||
|
||||
private void SpecialDatePopup_CancelClick(object sender, System.EventArgs e)
|
||||
{
|
||||
this.txtEdit.ClosePopup();
|
||||
}
|
||||
|
||||
|
||||
/// <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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user