* UICombobox:解决鼠标下拉选择,触发SelectedIndexChanged两次的问题

This commit is contained in:
Sunny 2021-05-06 15:56:23 +08:00
parent 509470b151
commit dc4bb68940
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -86,7 +86,7 @@ namespace Sunny.UI
if (SelectedIndex != ListBox.SelectedIndex) if (SelectedIndex != ListBox.SelectedIndex)
{ {
SelectedIndex = ListBox.SelectedIndex; SelectedIndex = ListBox.SelectedIndex;
Box_SelectedIndexChanged(null, null); //Box_SelectedIndexChanged(null, null);
Invalidate(); Invalidate();
} }
} }