* 弹窗增加几个函数
This commit is contained in:
parent
ac4c76a9da
commit
5b0f056f49
Binary file not shown.
Binary file not shown.
@ -41,6 +41,15 @@ namespace Sunny.UI
|
|||||||
itemForm.Opening += ItemForm_Opening;
|
itemForm.Opening += ItemForm_Opening;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Size ItemSize => itemForm.Size;
|
||||||
|
|
||||||
|
public Rectangle ItemBounds => itemForm.Bounds;
|
||||||
|
|
||||||
|
public void Close()
|
||||||
|
{
|
||||||
|
itemForm.Close();
|
||||||
|
}
|
||||||
|
|
||||||
private void ItemForm_Opening(object sender, System.ComponentModel.CancelEventArgs e)
|
private void ItemForm_Opening(object sender, System.ComponentModel.CancelEventArgs e)
|
||||||
{
|
{
|
||||||
Opening?.Invoke(this, e);
|
Opening?.Invoke(this, e);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user