* UIIntegerUpDown: 删除ForbidInput属性,使用Inputable属性

* UIDoubleUpDown: 删除ForbidInput属性,使用Inputable属性
This commit is contained in:
Sunny 2023-03-24 22:16:15 +08:00
parent e0352c14c1
commit b31cd59f58
2 changed files with 2 additions and 10 deletions

View File

@ -28,6 +28,7 @@
* 2022-11-12: V3.2.8
* 2022-11-12: V3.2.8 MaximumEnabledMinimumEnabledHasMaximumHasMinimum属性
* 2023-01-28: V3.3.1 MouseLeave
* 2023-03-24: V3.3.3 ForbidInput属性使Inputable属性
******************************************************************************/
using System;
@ -58,10 +59,6 @@ namespace Sunny.UI
pnlValue.Paint += PnlValue_Paint;
}
[DefaultValue(false)]
[Description("禁止输入"), Category("SunnyUI")]
public bool ForbidInput { get; set; }
/// <summary>
/// 需要额外设置ToolTip的控件
/// </summary>
@ -163,7 +160,6 @@ namespace Sunny.UI
private void btnAdd_Click(object sender, EventArgs e)
{
if (ForbidInput) return;
if (ReadOnly) return;
Value += Step;

View File

@ -27,6 +27,7 @@
* 2022-11-12: V3.2.8
* 2022-11-12: V3.2.8 MaximumEnabledMinimumEnabledHasMaximumHasMinimum属性
* 2023-01-28: V3.3.1 MouseLeave
* 2023-03-24: V3.3.3 ForbidInput属性使Inputable属性
******************************************************************************/
using System;
@ -55,10 +56,6 @@ namespace Sunny.UI
pnlValue.Paint += PnlValue_Paint;
}
[DefaultValue(false)]
[Description("禁止输入"), Category("SunnyUI")]
public bool ForbidInput { get; set; }
/// <summary>
/// 需要额外设置ToolTip的控件
/// </summary>
@ -146,7 +143,6 @@ namespace Sunny.UI
private void btnAdd_Click(object sender, EventArgs e)
{
if (ForbidInput) return;
if (ReadOnly) return;
Value += Step;