* UIDoubleUpDown,UIIntegerUpDown:增加双击可编辑数值
This commit is contained in:
parent
6504f994db
commit
181ce58d21
Binary file not shown.
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
1
SunnyUI.Demo/Controls/FTextBox.Designer.cs
generated
1
SunnyUI.Demo/Controls/FTextBox.Designer.cs
generated
@ -93,7 +93,6 @@
|
|||||||
this.uiTextBox1.Size = new System.Drawing.Size(221, 29);
|
this.uiTextBox1.Size = new System.Drawing.Size(221, 29);
|
||||||
this.uiTextBox1.TabIndex = 3;
|
this.uiTextBox1.TabIndex = 3;
|
||||||
this.uiTextBox1.Watermark = "水印文字";
|
this.uiTextBox1.Watermark = "水印文字";
|
||||||
this.uiTextBox1.Click += new System.EventHandler(this.uiTextBox1_Click);
|
|
||||||
//
|
//
|
||||||
// uiLabel1
|
// uiLabel1
|
||||||
//
|
//
|
||||||
|
@ -6,10 +6,5 @@
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void uiTextBox1_Click(object sender, System.EventArgs e)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -57,6 +57,7 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
base.OnFontChanged(e);
|
base.OnFontChanged(e);
|
||||||
if (pnlValue != null) pnlValue.Font = Font;
|
if (pnlValue != null) pnlValue.Font = Font;
|
||||||
|
if (edit != null) edit.Font = Font;
|
||||||
}
|
}
|
||||||
|
|
||||||
public event OnValueChanged ValueChanged;
|
public event OnValueChanged ValueChanged;
|
||||||
|
@ -75,6 +75,7 @@ namespace Sunny.UI
|
|||||||
{
|
{
|
||||||
base.OnFontChanged(e);
|
base.OnFontChanged(e);
|
||||||
if (pnlValue != null) pnlValue.Font = Font;
|
if (pnlValue != null) pnlValue.Font = Font;
|
||||||
|
if (edit != null) edit.Font = Font;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int step = 1;
|
private int step = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user