/[RomCheater]/trunk/Win32/libWin32/Win32/UI/NumericBox.cs
ViewVC logotype

Diff of /trunk/Win32/libWin32/Win32/UI/NumericBox.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/Win32/libWin32/Win32/UI/NumericBox.cs	2014/09/17 13:04:54	905
+++ trunk/Win32/libWin32/Win32/UI/NumericBox.cs	2014/09/17 13:07:57	906
@@ -26,6 +26,8 @@
             base.CreateStandardKeys(ValidKeys);
             ValidKeys.Add(Keys.Decimal);
             ValidKeys.Add(Keys.OemPeriod);
+            ValidKeys.Add(Keys.OemMinus);
+            ValidKeys.Add(Keys.Subtract);
             ValidKeys.AddRange(Enum.GetValues(typeof(Keys)).Cast<Keys>().Where(x => x >= Keys.D0 && x <= Keys.D9));
             ValidKeys.AddRange(Enum.GetValues(typeof(Keys)).Cast<Keys>().Where(x => x >= Keys.NumPad0 && x <= Keys.NumPad9));
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22