!58 update SunnyUI/Forms/UIEditForm.cs.

Merge pull request !58 from 我是你欧尼桑/N/A
This commit is contained in:
Sunny 2022-11-21 13:58:51 +00:00 committed by Gitee
commit 615a9149c5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,4 +1,4 @@
/******************************************************************************
/******************************************************************************
* SunnyUI
* CopyRight (C) 2012-2022 ShenYongHua().
* QQ群56829229 QQ17612584 EMailSunnyUI@QQ.Com
@ -500,7 +500,7 @@ namespace Sunny.UI
protected bool CheckRange(UITextBox edit, double min, double max, string desc)
{
bool result = edit.DoubleValue >= min && edit.IntValue <= max;
bool result = edit.DoubleValue >= min && edit.DoubleValue <= max;
if (!result)
{
this.ShowWarningDialog(desc);