C#中:有没有一种方法,使一个NumericUpDown控件无限的,而不必指定其最大属性的特定值的最大值?最大值、控件、而不必、属性

2023-09-04 23:46:38 作者:Grind(折磨)

C#中:有没有一种方法,使一个NumericUpDown控件无限的,而不必指定一个特定的值,其最大属性的最大值

C#: Is there a way to make the maximum value of a NumericUpDown control unlimited instead of having to specify a specific value its the Maximum property?

推荐答案

在的NumericUpDown最大属性设置为数据类型的maxValue属性被重新presenting。

Set the NumericUpDown Maximum property to the MaxValue property of the data type it is representing.