Advertisement
Gov_777

Получить расширение экрана

Jun 4th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.18 KB | None | 0 0
  1. Rectangle screenSize = System.Windows.Forms.Screen.PrimaryScreen.Bounds;
  2. MessageBox.Show(String.Format("Screen resolution is {0} x {1}" ,screenSize.Size.Height,screenSize.Size.Width));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement