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

Diff of /trunk/RomCheater/Main.cs

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

--- trunk/RomCheater/Main.cs	2014/09/16 19:41:38	851
+++ trunk/RomCheater/Main.cs	2014/09/16 19:52:47	852
@@ -570,22 +570,12 @@
                 }
                 catch (Exception)
                 {
-                    this.Controls.Remove(dockPanel);
-                    dockPanel = new DockPanel();
-                    dockPanel.Dock = DockStyle.Fill;
-                    dockPanel.DocumentStyle = DocumentStyle.DockingWindow;
-                    this.Controls.Add(dockPanel);
                     ShowDocks();
                 }
             }
             else
             {
-                this.Controls.Remove(dockPanel);
-                dockPanel = new DockPanel();
-                dockPanel.Dock = DockStyle.Fill;
-                dockPanel.DocumentStyle = DocumentStyle.DockingWindow;
-                this.Controls.Add(dockPanel);
-                ShowDocks();
+               ShowDocks();
             }
 
             //dockPanel.ResumeLayout(true, true);

 

  ViewVC Help
Powered by ViewVC 1.1.22