ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/Win32/libWin32/Win32/UI/NumericBox.cs
(Generate patch)

Comparing trunk/Win32/libWin32/Win32/UI/NumericBox.cs (file contents):
Revision 905 by william, Sat Jun 2 14:54:17 2012 UTC vs.
Revision 906 by william, Wed Sep 17 13:07:57 2014 UTC

# Line 26 | Line 26 | namespace System.Windows.Forms
26              base.CreateStandardKeys(ValidKeys);
27              ValidKeys.Add(Keys.Decimal);
28              ValidKeys.Add(Keys.OemPeriod);
29 +            ValidKeys.Add(Keys.OemMinus);
30 +            ValidKeys.Add(Keys.Subtract);
31              ValidKeys.AddRange(Enum.GetValues(typeof(Keys)).Cast<Keys>().Where(x => x >= Keys.D0 && x <= Keys.D9));
32              ValidKeys.AddRange(Enum.GetValues(typeof(Keys)).Cast<Keys>().Where(x => x >= Keys.NumPad0 && x <= Keys.NumPad9));
33          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines