* UICombobox:解决鼠标下拉选择,触发SelectedIndexChanged两次的问题
This commit is contained in:
parent
509470b151
commit
dc4bb68940
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user