This commit is contained in:
heartacker
2024-03-21 15:53:50 +08:00
parent 569e5c104c
commit a183d420de
2 changed files with 1 additions and 2 deletions

View File

@@ -336,7 +336,6 @@ public abstract class NumericUpDownBase<T> : NumericUpDown where T : struct, ICo
if ((numberStyles & NumberStyles.AllowHexSpecifier) != 0)
{
if (text.StartsWith("0X") || text.StartsWith("0x")) // support 0x hex while user input
{
text = text.Substring(2);