VB.Net Tutorial/Windows/Screen
Версия от 16:40, 26 мая 2010; (обсуждение)
My.Computer.Screen.Bounds
Option Strict On
Imports System.Drawing
Public Module ScreenRes
Public Sub Main()
Dim bnds As Rectangle = My.ruputer.Screen.Bounds
Console.WriteLine("Bounds: " & bnds.Width & " by " & bnds.Height)
End Sub
End Module
Bounds: 1280 by 768