示例#1
0
        public WCFScreenInformation[] GetDisplayInformation() //Não está a dar. Verificar os callbacks (sucatada)
        {
            List <WCFScreenInformation> res = new List <WCFScreenInformation>();

            foreach (var display in Screen.AllScreens)
            {
                res.Add(NetWCFConverter.ToWCFScreenInformation(display));
            }

            return(res.ToArray());
        }
示例#2
0
 public WCFScreenInformation GetPrimaryDisplay()
 {
     return(NetWCFConverter.ToWCFScreenInformation(Screen.PrimaryScreen));
 }