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

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

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

revision 228 by william, Wed May 9 20:52:20 2012 UTC revision 229 by william, Sat Jun 2 18:31:40 2012 UTC
# Line 110  namespace System.Windows.Forms Line 110  namespace System.Windows.Forms
110          public void CreateTypeSize<T>() where T : IConvertible          public void CreateTypeSize<T>() where T : IConvertible
111          {          {
112              Type type = typeof(T);              Type type = typeof(T);
113              this.TextLength = Marshal.SizeOf(type) * 2;              int size = Marshal.SizeOf(type) * 2;
114              this.MaxLength = this.TextLength;              this.MaxLength = size;
115                this.TextLength = this.MaxLength;
116          }          }
117    
118          private int _MaxLength;          private int _MaxLength;

Legend:
Removed from v.228  
changed lines
  Added in v.229

  ViewVC Help
Powered by ViewVC 1.1.22