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

Comparing trunk/RomCheater.ScratchPad/ScratchPad.cs (file contents):
Revision 784 by william, Fri Jun 21 04:27:21 2013 UTC vs.
Revision 785 by william, Fri Jun 21 04:50:33 2013 UTC

# Line 35 | Line 35 | namespace RomCheater.ScratchPad
35          {
36              this.plugin = plugin;
37              InitPluginFramework();
38 <            InitializeComponent();                        
38 >            InitializeComponent();      
39          }
40  
41  
# Line 97 | Line 97 | namespace RomCheater.ScratchPad
97          {
98              t.DocumentClosing += new BaseEventHandler<ControlClosingEventArgs<int>>(t_DocumentClosing);
99              docuemntList.Add(t);
100            this.tb.TabPages.Add(t.DocumentTab);
100              t.Dock = DockStyle.Fill;
101              t.Font = new System.Drawing.Font(this.Font.FontFamily, this.Font.SizeInPoints);
102              t.LinkClicked += new EventHandler<LinkClickedEventArgs>(t_LinkClicked);
103 +            this.tb.TabPages.Add(t.DocumentTab);                      
104          }
105  
106          void t_LinkClicked(object sender, LinkClickedEventArgs e)
# Line 146 | Line 146 | namespace RomCheater.ScratchPad
146                  int index = e.Args;
147                  this.docuemntList.RemoveAt(index);
148          }
149 +
150 +        private void ScratchPad_Shown(object sender, EventArgs e)
151 +        {
152 +            //tb.Font = new System.Drawing.Font(this.Font.FontFamily, this.Font.SizeInPoints);
153 +        }
154      }
155   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines