public IntOption(String name, String descr, String cat, String defValue) : base(OptionType.OPTION_INT, name, descr, cat, defValue) { if (String.IsNullOrEmpty(defValue) == false) { _iValue = Globals.myAtoi(defValue); } }
public void Set(string value) { _sValue = value; if (value[0] >= wxPorting.T('0') && value[0] <= wxPorting.T('9')) { _iValue = Globals.myAtoi(value); } else { _iValue = 0; } }