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

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

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

revision 225 by william, Sat Jun 2 14:29:00 2012 UTC revision 226 by william, Sat Jun 2 14:54:17 2012 UTC
# Line 29  namespace System.Windows.Forms Line 29  namespace System.Windows.Forms
29          ////    get { return base.Text; }          ////    get { return base.Text; }
30          ////    set { base.Text = value; }          ////    set { base.Text = value; }
31          ////}          ////}
32            protected override void CreateValidKeys(List<Keys> ValidKeys)
33            {
34                base.CreateStandardKeys(ValidKeys);
35                ValidKeys.Add(Keys.Decimal);
36                ValidKeys.Add(Keys.OemPeriod);
37                ValidKeys.AddRange(Enum.GetValues(typeof(Keys)).Cast<Keys>().Where(x => x >= Keys.D0 && x <= Keys.D9));
38                ValidKeys.AddRange(Enum.GetValues(typeof(Keys)).Cast<Keys>().Where(x => x >= Keys.NumPad0 && x <= Keys.NumPad9));
39            }
40      }      }
41  }  }

Legend:
Removed from v.225  
changed lines
  Added in v.226

  ViewVC Help
Powered by ViewVC 1.1.22