* UIDropDown: 解决下拉控件关闭报错
This commit is contained in:
parent
2d92b91bcd
commit
ac4fef073e
@ -160,7 +160,17 @@ namespace Sunny.UI
|
||||
|
||||
return itemForm;
|
||||
}
|
||||
set => itemForm = value;
|
||||
set
|
||||
{
|
||||
itemForm = value;
|
||||
|
||||
if (itemForm != null)
|
||||
{
|
||||
itemForm.ValueChanged += ItemForm_ValueChanged;
|
||||
itemForm.VisibleChanged += ItemForm_VisibleChanged;
|
||||
itemForm.Closed += ItemForm_Closed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void ItemForm_Closed(object sender, ToolStripDropDownClosedEventArgs e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user