* UITextBox: 加了一个判断

This commit is contained in:
Sunny 2024-04-16 22:24:18 +08:00
parent b7fc97c918
commit eb3823582d

View File

@ -653,6 +653,7 @@ namespace Sunny.UI
private void Edit_TextChanged(object s, EventArgs e) private void Edit_TextChanged(object s, EventArgs e)
{ {
if (IsDisposed) return;
TextChanged?.Invoke(this, e); TextChanged?.Invoke(this, e);
SetScrollInfo(); SetScrollInfo();
} }