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

Diff of /trunk/RomCheater.ScratchPad/ScratchPad.cs

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

--- trunk/RomCheater.ScratchPad/ScratchPad.cs	2013/06/21 04:27:21	784
+++ trunk/RomCheater.ScratchPad/ScratchPad.cs	2013/06/21 04:50:33	785
@@ -35,7 +35,7 @@
         {
             this.plugin = plugin;
             InitPluginFramework();
-            InitializeComponent();                        
+            InitializeComponent();      
         }
 
 
@@ -97,10 +97,10 @@
         {
             t.DocumentClosing += new BaseEventHandler<ControlClosingEventArgs<int>>(t_DocumentClosing);
             docuemntList.Add(t);
-            this.tb.TabPages.Add(t.DocumentTab);
             t.Dock = DockStyle.Fill;
             t.Font = new System.Drawing.Font(this.Font.FontFamily, this.Font.SizeInPoints);
             t.LinkClicked += new EventHandler<LinkClickedEventArgs>(t_LinkClicked);
+            this.tb.TabPages.Add(t.DocumentTab);                       
         }
 
         void t_LinkClicked(object sender, LinkClickedEventArgs e)
@@ -146,5 +146,10 @@
                 int index = e.Args;
                 this.docuemntList.RemoveAt(index);
         }
+
+        private void ScratchPad_Shown(object sender, EventArgs e)
+        {
+            //tb.Font = new System.Drawing.Font(this.Font.FontFamily, this.Font.SizeInPoints);
+        }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22