* 更新Demo

This commit is contained in:
Sunny 2022-04-02 23:50:15 +08:00
parent fc59df03fe
commit f635e11ab3
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -21,6 +21,8 @@ namespace Sunny.UI.Demo
person.Birthday = new DateTime(2002, 1, 1);
FEdit frm = new FEdit();
frm.ReSetDPIScale();
frm.Style = UIStyles.Style;
frm.Person = person;
frm.ShowDialog();
if (frm.IsOK)
@ -34,6 +36,8 @@ namespace Sunny.UI.Demo
private void btnAdd_Click(object sender, EventArgs e)
{
FEdit frm = new FEdit();
frm.ReSetDPIScale();
frm.Style = UIStyles.Style;
frm.ShowDialogWithMask();
if (frm.IsOK)
{