* 更新Demo
This commit is contained in:
parent
fc59df03fe
commit
f635e11ab3
Binary file not shown.
@ -21,6 +21,8 @@ namespace Sunny.UI.Demo
|
|||||||
person.Birthday = new DateTime(2002, 1, 1);
|
person.Birthday = new DateTime(2002, 1, 1);
|
||||||
|
|
||||||
FEdit frm = new FEdit();
|
FEdit frm = new FEdit();
|
||||||
|
frm.ReSetDPIScale();
|
||||||
|
frm.Style = UIStyles.Style;
|
||||||
frm.Person = person;
|
frm.Person = person;
|
||||||
frm.ShowDialog();
|
frm.ShowDialog();
|
||||||
if (frm.IsOK)
|
if (frm.IsOK)
|
||||||
@ -34,6 +36,8 @@ namespace Sunny.UI.Demo
|
|||||||
private void btnAdd_Click(object sender, EventArgs e)
|
private void btnAdd_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
FEdit frm = new FEdit();
|
FEdit frm = new FEdit();
|
||||||
|
frm.ReSetDPIScale();
|
||||||
|
frm.Style = UIStyles.Style;
|
||||||
frm.ShowDialogWithMask();
|
frm.ShowDialogWithMask();
|
||||||
if (frm.IsOK)
|
if (frm.IsOK)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user