* UIIntegerUpDown, UIDoubleUpDown:增加字体调整
This commit is contained in:
parent
9c469275a3
commit
329199319e
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
BIN
Bin/SunnyUI.pdb
BIN
Bin/SunnyUI.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
SunnyUI.Demo/Controls/FTextBox.Designer.cs
generated
2
SunnyUI.Demo/Controls/FTextBox.Designer.cs
generated
@ -166,7 +166,7 @@
|
|||||||
//
|
//
|
||||||
// uiDoubleUpDown1
|
// uiDoubleUpDown1
|
||||||
//
|
//
|
||||||
this.uiDoubleUpDown1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.uiDoubleUpDown1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.uiDoubleUpDown1.Location = new System.Drawing.Point(388, 132);
|
this.uiDoubleUpDown1.Location = new System.Drawing.Point(388, 132);
|
||||||
this.uiDoubleUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
this.uiDoubleUpDown1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||||
this.uiDoubleUpDown1.MinimumSize = new System.Drawing.Size(100, 0);
|
this.uiDoubleUpDown1.MinimumSize = new System.Drawing.Size(100, 0);
|
||||||
|
@ -37,6 +37,12 @@ namespace Sunny.UI
|
|||||||
ShowText = false;
|
ShowText = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnFontChanged(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnFontChanged(e);
|
||||||
|
if (pnlValue != null) pnlValue.Font = Font;
|
||||||
|
}
|
||||||
|
|
||||||
public event OnValueChanged ValueChanged;
|
public event OnValueChanged ValueChanged;
|
||||||
|
|
||||||
private double _value = 0;
|
private double _value = 0;
|
||||||
|
@ -55,6 +55,12 @@ namespace Sunny.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnFontChanged(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnFontChanged(e);
|
||||||
|
if (pnlValue != null) pnlValue.Font = Font;
|
||||||
|
}
|
||||||
|
|
||||||
private int step = 1;
|
private int step = 1;
|
||||||
|
|
||||||
[DefaultValue(1)]
|
[DefaultValue(1)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user