* IHideDropDown: 修改关闭下拉弹窗可能引起的出错
This commit is contained in:
parent
930302a375
commit
915c16d96f
@ -616,6 +616,8 @@ namespace Sunny.UI
|
||||
}
|
||||
|
||||
public void HideDropDown()
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!ShowFilter)
|
||||
{
|
||||
@ -628,6 +630,10 @@ namespace Sunny.UI
|
||||
FilterItemForm.Close();
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
[DefaultValue(false)]
|
||||
[Description("不显示过滤可以自动调整下拉框宽度"), Category("SunnyUI")]
|
||||
|
@ -286,10 +286,16 @@ namespace Sunny.UI
|
||||
}
|
||||
|
||||
public void HideDropDown()
|
||||
{
|
||||
try
|
||||
{
|
||||
if (NumPadForm != null && NumPadForm.Visible)
|
||||
NumPadForm.Close();
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 当InputType为数字类型时,能输入的最大值
|
||||
|
Loading…
x
Reference in New Issue
Block a user