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

Comparing trunk/EmuXPortal/Api/ConfigLoader.cs (file contents):
Revision 14 by william, Tue Apr 3 21:35:13 2012 UTC vs.
Revision 15 by william, Tue Apr 3 21:39:47 2012 UTC

# Line 47 | Line 47 | namespace EmuXPortal.Api
47                          {
48                              reader.ReadToFollowing("ROMPATH");
49                              RomPath = reader.ReadElementContentAsString();
50 +                            logger.WriteLine("\tROMPATH={0}", RomPath);
51                              reader.ReadToFollowing("DISPLAYDEVICE");
52                              DisplayDevice = reader.ReadElementContentAsString();
53 +                            logger.WriteLine("\tDISPLAYDEVICE={0}", DisplayDevice);
54                          }
55                      }
56                      logger.WriteLine("Loaded Config: {0}", path);
# Line 81 | Line 83 | namespace EmuXPortal.Api
83          public static string DisplayDevice { get { return loader.DisplayDevice; } }
84          #endregion
85          public static void InitializePresentationForm(Form frm)
86 <        {
86 >        {            
87              DisplayHelper helper = new DisplayHelper(DisplayDevice);
88 <            Screen s = helper.PhysicalDisplayDevice;
88 >            logger.WriteLine("Initializing Form: {0}", frm.Name);
89 >            Screen s = helper.PhysicalDisplayDevice;          
90              frm.Location = new System.Drawing.Point(s.Bounds.X,s.Bounds.Y);
91 +            logger.WriteLine("\tLocation={0}", frm.Location.ToString());
92              frm.Size = s.Bounds.Size;
93 +            logger.WriteLine("\tSize={0}", frm.Size.ToString());
94 +            logger.WriteLine("Initialized Form: {0}", frm.Name);
95          }
96      }
97  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines