diff --git a/Bin/net40/SunnyUI.Demo.exe b/Bin/net40/SunnyUI.Demo.exe index 49dd6012..83df4954 100644 Binary files a/Bin/net40/SunnyUI.Demo.exe and b/Bin/net40/SunnyUI.Demo.exe differ diff --git a/Bin/net40/SunnyUI.dll b/Bin/net40/SunnyUI.dll index 3f501e4c..8522c53b 100644 Binary files a/Bin/net40/SunnyUI.dll and b/Bin/net40/SunnyUI.dll differ diff --git a/SunnyUI/Controls/DropItem/UIToolStripDropDown.cs b/SunnyUI/Controls/DropItem/UIToolStripDropDown.cs index 9e146cde..a4c6439b 100644 --- a/SunnyUI/Controls/DropItem/UIToolStripDropDown.cs +++ b/SunnyUI/Controls/DropItem/UIToolStripDropDown.cs @@ -41,6 +41,15 @@ namespace Sunny.UI 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) { Opening?.Invoke(this, e);