protected void ParseEditText () { try { if (!hexadecimal) { Value = Check (decimal.Parse (Text, CultureInfo.CurrentCulture)); } else { Value = Check (Convert.ToDecimal (Convert.ToInt32 (Text, 16))); } } catch { } finally { UserEdit = false; } }