[GridCategory("01. Test ")]
[Gui.Design.DisplayNameAttribute("01. Test Value")]
public int AutoRefreshHour
{
get { return testVal; }
set { testVal= Math.Max(1, value); }
}
Is there a way I can check that the entered value is between 1 and 10 in this statement?
thanks
Comment