/[RomCheater]/trunk/RomCheater.RVAScratchPad/Form1.cs
ViewVC logotype

Diff of /trunk/RomCheater.RVAScratchPad/Form1.cs

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

--- trunk/RomCheater.RVAScratchPad/Form1.cs	2014/09/16 01:06:04	839
+++ trunk/RomCheater.RVAScratchPad/Form1.cs	2014/09/16 20:18:12	853
@@ -267,7 +267,7 @@
 
         private void Form1_Shown(object sender, EventArgs e)
         {
-            ////dockPanel.SuspendLayout(true);
+            dockPanel.SuspendLayout(true);
             ////ShowDocks();
             string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), DockPanelConfig);
             if (File.Exists(configFile))
@@ -279,11 +279,11 @@
                 }
                 catch (Exception)
                 {
-                    this.Controls.Remove(dockPanel);
-                    dockPanel = new DockPanel();
-                    dockPanel.Dock = DockStyle.Fill;
-                    dockPanel.DocumentStyle = DocumentStyle.DockingWindow;
-                    this.Controls.Add(dockPanel);
+                    //this.Controls.Remove(dockPanel);
+                    //dockPanel = new DockPanel();
+                    //dockPanel.Dock = DockStyle.Fill;
+                    //dockPanel.DocumentStyle = DocumentStyle.DockingWindow;
+                    //this.Controls.Add(dockPanel);
                     ShowDocks();
                 }
             }
@@ -294,7 +294,7 @@
 
             if (RVACalcPlugin != null)
                 RVACalcPlugin.Activate();
-            ////dockPanel.ResumeLayout(true, true);
+            dockPanel.ResumeLayout(true, true);
         }
 
         private void mnuItemExit_Click(object sender, EventArgs e)

 

  ViewVC Help
Powered by ViewVC 1.1.22