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

Comparing trunk/Win32/libWin32/Win32/UI/MultiNumericBox.cs (file contents):
Revision 223 by william, Sat Jun 2 13:20:13 2012 UTC vs.
Revision 224 by william, Sat Jun 2 13:27:18 2012 UTC

--- trunk/Win32/libWin32/Win32/UI/MultiNumericBox.cs	2012/06/02 13:20:13	223
+++ trunk/Win32/libWin32/Win32/UI/MultiNumericBox.cs	2012/06/02 13:27:18	224
@@ -53,6 +53,8 @@ namespace System.Windows.Forms
                     ValidKeys.Add(Keys.NumPad1);
                     break;
                 case MultiNumericBox_InputType.Octal:
+                    ValidKeys.AddRange(Enum.GetValues(typeof(Keys)).Cast<Keys>().Where(x => x >= Keys.D0 && x <= Keys.D7));
+                    ValidKeys.AddRange(Enum.GetValues(typeof(Keys)).Cast<Keys>().Where(x => x >= Keys.NumPad0 && x <= Keys.NumPad7));
                     break;
                 case MultiNumericBox_InputType.Hex:
                 case MultiNumericBox_InputType.IEEE754HexFloat: