* UICombobox:更改一事件

This commit is contained in:
Sunny 2021-06-07 21:58:36 +08:00
parent 227df20ac6
commit 67a8f176c0
6 changed files with 8 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -84,12 +84,14 @@ namespace Sunny.UI
protected override void ItemForm_ValueChanged(object sender, object value)
{
if (SelectedIndex != ListBox.SelectedIndex)
{
SelectedIndex = ListBox.SelectedIndex;
//Box_SelectedIndexChanged(null, null);
Invalidate();
}
//if (SelectedIndex != ListBox.SelectedIndex)
//{
// SelectedIndex = ListBox.SelectedIndex;
// //Box_SelectedIndexChanged(null, null);
// Invalidate();
//}
Invalidate();
}
private readonly UIComboBoxItem dropForm = new UIComboBoxItem();