* UIEditForm:增加一个扩展方法
This commit is contained in:
parent
0d48cca0f6
commit
f60410b375
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -594,13 +594,7 @@ namespace Sunny.UI
|
||||
frm.TopMost = true;
|
||||
}
|
||||
|
||||
public static bool ShowDialog(this UIEditOption option)
|
||||
{
|
||||
UIEditForm frm = new UIEditForm(option);
|
||||
return frm.ShowDialog() == DialogResult.OK;
|
||||
}
|
||||
|
||||
public static UIEditForm Create(this UIEditOption option)
|
||||
public static UIEditForm CreateForm(this UIEditOption option)
|
||||
{
|
||||
return new UIEditForm(option);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user