diff --git a/SunnyUI/Controls/DropItem/UIDropControl.Designer.cs b/SunnyUI/Controls/DropItem/UIDropControl.Designer.cs index fcd75ee6..9fbebfa6 100644 --- a/SunnyUI/Controls/DropItem/UIDropControl.Designer.cs +++ b/SunnyUI/Controls/DropItem/UIDropControl.Designer.cs @@ -15,6 +15,7 @@ { if (disposing && (components != null)) { + CloseTips(); components.Dispose(); } diff --git a/SunnyUI/Controls/UITextBox.Designer.cs b/SunnyUI/Controls/UITextBox.Designer.cs index d168a771..e70dd4cc 100644 --- a/SunnyUI/Controls/UITextBox.Designer.cs +++ b/SunnyUI/Controls/UITextBox.Designer.cs @@ -15,6 +15,7 @@ { if (disposing && (components != null)) { + CloseTips(); components.Dispose(); } base.Dispose(disposing); diff --git a/SunnyUI/Controls/UITextBox.cs b/SunnyUI/Controls/UITextBox.cs index 9e4fc37c..8ed716a6 100644 --- a/SunnyUI/Controls/UITextBox.cs +++ b/SunnyUI/Controls/UITextBox.cs @@ -646,6 +646,11 @@ namespace Sunny.UI { base.OnSizeChanged(e); SizeChange(); + + if (tipsBtn != null) + { + tipsBtn.Location = new System.Drawing.Point(Width - 11, 2); + } } protected override void OnPaddingChanged(EventArgs e)