* UITextBox: 调整为可继承

This commit is contained in:
Sunny 2024-06-11 21:31:41 +08:00
parent 29053a10eb
commit 5b28b736de
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
namespace Sunny.UI namespace Sunny.UI
{ {
sealed partial class UITextBox partial class UITextBox
{ {
/// <summary> /// <summary>
/// 必需的设计器变量。 /// 必需的设计器变量。

View File

@ -59,6 +59,7 @@
* 2023-12-18: V3.6.2 Tips小红点的位置 * 2023-12-18: V3.6.2 Tips小红点的位置
* 2023-12-25: V3.6.2 Text的属性编辑器 * 2023-12-25: V3.6.2 Text的属性编辑器
* 2024-01-13: V3.6.3 Radius时 * 2024-01-13: V3.6.3 Radius时
* 2024-06-11: V3.6.6
******************************************************************************/ ******************************************************************************/
using System; using System;
@ -72,7 +73,7 @@ namespace Sunny.UI
{ {
[DefaultEvent("TextChanged")] [DefaultEvent("TextChanged")]
[DefaultProperty("Text")] [DefaultProperty("Text")]
public sealed partial class UITextBox : UIPanel, ISymbol, IToolTip public partial class UITextBox : UIPanel, ISymbol, IToolTip
{ {
private readonly UIEdit edit = new UIEdit(); private readonly UIEdit edit = new UIEdit();
private readonly UIScrollBar bar = new UIScrollBar(); private readonly UIScrollBar bar = new UIScrollBar();