Вот мой код:
Код: Выделить всё
Graphics graphics = null;
var w = System.Windows.SystemParameters.PrimaryScreenWidth;
var h = System.Windows.SystemParameters.PrimaryScreenHeight;
graphics.CopyFromScreen(location.X, location.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy);
Имя «Экран» не существует в текущем контексте.
В чем проблема?
Подробнее здесь: https://stackoverflow.com/questions/539 ... ize-on-wpf
Мобильная версия