diff --git a/Bin/net40/SunnyUI.dll b/Bin/net40/SunnyUI.dll index 1122a972..0e860f1d 100644 Binary files a/Bin/net40/SunnyUI.dll and b/Bin/net40/SunnyUI.dll differ diff --git a/Bin/net45/SunnyUI.dll b/Bin/net45/SunnyUI.dll index 86c826cf..8b1b4ad6 100644 Binary files a/Bin/net45/SunnyUI.dll and b/Bin/net45/SunnyUI.dll differ diff --git a/Bin/net5.0-windows/SunnyUI.dll b/Bin/net5.0-windows/SunnyUI.dll index 40536ed1..65c68196 100644 Binary files a/Bin/net5.0-windows/SunnyUI.dll and b/Bin/net5.0-windows/SunnyUI.dll differ diff --git a/Bin/netcoreapp3.1/SunnyUI.dll b/Bin/netcoreapp3.1/SunnyUI.dll index 5f0ea6d8..2176bf6f 100644 Binary files a/Bin/netcoreapp3.1/SunnyUI.dll and b/Bin/netcoreapp3.1/SunnyUI.dll differ diff --git a/SunnyUI/Pages/UIPage.cs b/SunnyUI/Pages/UIPage.cs index 83263df4..dd430ecd 100644 --- a/SunnyUI/Pages/UIPage.cs +++ b/SunnyUI/Pages/UIPage.cs @@ -368,6 +368,8 @@ namespace Sunny.UI protected override void OnMouseClick(MouseEventArgs e) { + base.OnMouseClick(e); + if (FormBorderStyle == FormBorderStyle.None && ShowTitle) { if (InControlBox) @@ -470,6 +472,8 @@ namespace Sunny.UI protected override void OnMouseMove(MouseEventArgs e) { + base.OnMouseMove(e); + if (ShowTitle && ControlBox) { bool inControlBox = e.Location.InRect(ControlBoxRect);