* UIDoubleUpDown,UIIntegerUpDown:增加双击可编辑数值

This commit is contained in:
Sunny 2020-11-07 21:09:16 +08:00
parent 6504f994db
commit 181ce58d21
6 changed files with 2 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -93,7 +93,6 @@
this.uiTextBox1.Size = new System.Drawing.Size(221, 29);
this.uiTextBox1.TabIndex = 3;
this.uiTextBox1.Watermark = "水印文字";
this.uiTextBox1.Click += new System.EventHandler(this.uiTextBox1_Click);
//
// uiLabel1
//

View File

@ -6,10 +6,5 @@
{
InitializeComponent();
}
private void uiTextBox1_Click(object sender, System.EventArgs e)
{
}
}
}

View File

@ -57,6 +57,7 @@ namespace Sunny.UI
{
base.OnFontChanged(e);
if (pnlValue != null) pnlValue.Font = Font;
if (edit != null) edit.Font = Font;
}
public event OnValueChanged ValueChanged;

View File

@ -75,6 +75,7 @@ namespace Sunny.UI
{
base.OnFontChanged(e);
if (pnlValue != null) pnlValue.Font = Font;
if (edit != null) edit.Font = Font;
}
private int step = 1;