* UIComboDataGridView: 增加ShowDropDown()
* UIComboTreeView: 增加ShowDropDown()
This commit is contained in:
parent
c48ceacc27
commit
71bee928b5
@ -29,6 +29,7 @@
|
||||
* 2022-11-30: V3.3.0 增加Clear方法
|
||||
* 2023-07-25: V3.4.1 过滤输入后,按键盘下键切换至DataGridView,选中数据后按回车可快捷选中数据
|
||||
* 2023-09-25: V3.5.0 增加ClearFilter,可以清除弹窗的搜索栏文字
|
||||
* 2024-03-22: V3.6.5 增加ShowDropDown()
|
||||
******************************************************************************/
|
||||
|
||||
using System;
|
||||
@ -109,6 +110,11 @@ namespace Sunny.UI
|
||||
item.ComboDataGridViewFilterChanged += Item_ComboDataGridViewFilterChanged;
|
||||
}
|
||||
|
||||
public void ShowDropDown()
|
||||
{
|
||||
UIComboDataGridView_ButtonClick(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
public override void Clear()
|
||||
{
|
||||
base.Clear();
|
||||
|
@ -25,6 +25,7 @@
|
||||
* 2023-02-04: V3.3.1 下拉框增加显示全选选择框
|
||||
* 2023-04-02: V3.3.4 显示清除按钮
|
||||
* 2023-06-12: V3.3.8 修复使用清空按钮后,再次打开下拉框,上次的选择内容还是存在
|
||||
* 2024-03-22: V3.6.5 增加ShowDropDown()
|
||||
******************************************************************************/
|
||||
|
||||
using System;
|
||||
@ -233,6 +234,11 @@ namespace Sunny.UI
|
||||
}
|
||||
}
|
||||
|
||||
public void ShowDropDown()
|
||||
{
|
||||
UIComboTreeView_ButtonClick(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
private void UIComboTreeView_ButtonClick(object sender, EventArgs e)
|
||||
{
|
||||
if (NeedDrawClearButton)
|
||||
|
Loading…
x
Reference in New Issue
Block a user