示例#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);
        }
示例#2
0
 public IEnumerable <IInternalScreen> GetScreens()
 {
     return(Win32Monitor.GetMonitors());
 }