* UICombobox: 更新TextChanged事件
This commit is contained in:
parent
d4b9fe39e4
commit
bfd641cbf8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -42,10 +42,18 @@ namespace Sunny.UI
|
||||
ListBox.DisplayMemberChanged += Box_DisplayMemberChanged;
|
||||
ListBox.ValueMemberChanged += Box_ValueMemberChanged;
|
||||
ListBox.SelectedValueChanged += ListBox_SelectedValueChanged;
|
||||
edit.TextChanged += Edit_TextChanged;
|
||||
DropDownWidth = 150;
|
||||
fullControlSelect = true;
|
||||
}
|
||||
|
||||
public new EventHandler TextChanged;
|
||||
|
||||
private void Edit_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
TextChanged?.Invoke(this, e);
|
||||
}
|
||||
|
||||
private void ListBox_SelectedValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
SelectedValueChanged?.Invoke(this, e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user