/[EmuXPortal]/branches/mono/EmuXPortal/Form1.cs
ViewVC logotype

Diff of /branches/mono/EmuXPortal/Form1.cs

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

--- trunk/EmuXPortal/Form1.cs	2014/08/05 09:53:04	249
+++ trunk/EmuXPortal/Form1.cs	2014/08/05 10:16:33	250
@@ -675,6 +675,7 @@
                 rom_flow.Controls.Add(game_ctrl);
             }
             //rom_flow.Controls[0].Select();
+            rom_flow.Focus();
             t.Stop();
             gLog.Profiler.WriteLine("RomParser took: {0}s to parse roms", (int)t.Elapsed.TotalSeconds);
         }
@@ -753,25 +754,8 @@
                 platform_flow.Controls.Add(platform_ctrl);
             }
             //platform_flow.Controls[0].Select();
+            platform_flow.Focus();
             gLog.Profiler.WriteLine("PlatformParser took: {0}s to parse platforms", (int)t.Elapsed.TotalSeconds);
-
-
-            //var ctls = platform_flow.GetControlsToRender();
-            //gLog.Verbose.Debug.WriteLine("Found: {0} controls to render", ctls.Count);
-            //int index = 0;
-            //foreach (var ctl in ctls)
-            //{
-            //    var tag = (ctl.Tag as IEmuConfig);
-            //    if (tag == null)
-            //    {
-            //        gLog.Verbose.Debug.WriteLine("  [{0}]: {1}", index, "unknown");
-            //    }
-            //    else
-            //    {
-            //        gLog.Verbose.Debug.WriteLine("  [{0}]: {1}", index, tag.PlatformNameShort);
-            //    }
-            //    index++;
-            //}
         }
         #endregion
 

 

  ViewVC Help
Powered by ViewVC 1.1.22