Ejemplo n.º 1
0
        public void GetMonitorsTest()
        {
            TraceFile.SetName("GetMonitorsTest");
            var screens = Win32Monitor.GetMonitors();

            foreach (var screen in screens)
            {
                this.LogLine("Monitor[{0}][{1}]", screen.Id, screen.Rectangle.Canonical);
            }
            Assert.IsTrue(true);
        }
Ejemplo n.º 2
0
 public IEnumerable <IInternalScreen> GetScreens()
 {
     return(Win32Monitor.GetMonitors());
 }