/[RomCheater]/trunk/RomCheater/RomCheaterConfigDialog.cs
ViewVC logotype

Diff of /trunk/RomCheater/RomCheaterConfigDialog.cs

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

revision 98 by william, Wed May 9 22:31:56 2012 UTC revision 99 by william, Wed May 9 23:23:38 2012 UTC
# Line 90  namespace RomCheater Line 90  namespace RomCheater
90                  int value = (int)flags;                  int value = (int)flags;
91    
92                  CheckBox chkloggerflags = new CheckBox();                  CheckBox chkloggerflags = new CheckBox();
93                    chkloggerflags.Font = this.Font;
94                  chkloggerflags.Name = name;                  chkloggerflags.Name = name;
95                  chkloggerflags.Text = name;                  chkloggerflags.Text = name;
96                  chkloggerflags.Tag = value;                  chkloggerflags.Tag = value;
97                    Graphics g = chkloggerflags.CreateGraphics();
98    
99                    Size size = g.MeasureString(chkloggerflags.Text, chkloggerflags.Font).ToSize();
100                    chkloggerflags.Width = size.Width + 25;
101    
102                  grpLoggingFlags_flow.Controls.Add(chkloggerflags);                  grpLoggingFlags_flow.Controls.Add(chkloggerflags);
103                  logger.Debug.WriteLine("\tAdding logger flag: {0} value: 0x{1:x4}", name, value);                  logger.Debug.WriteLine("\tAdding logger flag: {0} value: 0x{1:x4}", name, value);
104    

Legend:
Removed from v.98  
changed lines
  Added in v.99

  ViewVC Help
Powered by ViewVC 1.1.22