* UIEditForm:增加一个扩展方法

This commit is contained in:
Sunny 2021-03-06 11:30:29 +08:00
parent a2933e301d
commit d8ba6e7ffa
6 changed files with 6 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -593,5 +593,11 @@ namespace Sunny.UI
frm.ShowInTaskbar = false;
frm.TopMost = true;
}
public static DialogResult ShowDialog(this UIEditOption option)
{
UIEditForm frm = new UIEditForm(option);
return frm.ShowDialog();
}
}
}