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

Comparing trunk/EmuXPortal/Api/DisplayHelper.cs (file contents):
Revision 237 by william, Thu Aug 23 04:13:19 2012 UTC vs.
Revision 238 by william, Tue Aug 5 04:50:39 2014 UTC

# Line 3 | Line 3 | using System.Collections.Generic;
3   using System.Linq;
4   using System.Text;
5   using System.Windows.Forms;
6 < using EmuXPortal.Logging;
6 > using Enterprise.Logging;
7  
8   namespace EmuXPortal.Api
9   {
10      public class DisplayHelper
11      {
12 <        public DisplayHelper(logger log) : this(log,Screen.PrimaryScreen) { }
13 <        public DisplayHelper(logger log, string device) : this(log, GetScreenFromString(device)) { }
14 <        public DisplayHelper(logger log, Screen device)
12 >        public DisplayHelper() : this(Screen.PrimaryScreen) { }
13 >        public DisplayHelper(string device) : this(GetScreenFromString(device)) { }
14 >        public DisplayHelper(Screen device)
15          {
16 <            log.WriteLine("Using DisplayDevice: {0}", device);
16 >            gLog.Debug.WriteLine("Using DisplayDevice: {0}", device);
17              PhysicalDisplayDevice = device;
18          }
19          #region GetScreenFromString

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines