VB.Net Tutorial/Development/SystemInformation — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 12:53, 26 мая 2010
System Information: DoubleClickSize, DoubleClickTime, MouseButtons, MouseButtonsSw apped
imports System.Windows.Forms
Public Class Tester
Public Shared Sub Main
Console.WriteLine(SystemInformation.DoubleClickSize.ToString())
Console.WriteLine(SystemInformation.DoubleClickTime.ToString())
Console.WriteLine(SystemInformation.MouseButtons.ToString())
Console.WriteLine(SystemInformation.MouseButtonsSwapped.ToString())
End Sub
End Class
{Width=4, Height=4} 500 5 False
System Information: MousePresent, MouseWheelPresent, MouseWheelScrollLines, Native MouseWheelSupport
imports System.Windows.Forms
Public Class Tester
Public Shared Sub Main
Console.WriteLine(SystemInformation.MousePresent.ToString())
Console.WriteLine(SystemInformation.MouseWheelPresent.ToString())
Console.WriteLine(SystemInformation.MouseWheelScrollLines.ToString())
Console.WriteLine(SystemInformation.NativeMouseWheelSupport.ToString())
End Sub
End Class
True True 3 True
SystemInformation.PrimaryMonitorMaximizedWindowSize
public class Test
public Shared Sub Main
Console.WriteLine(System.Windows.Forms.SystemInformation.PrimaryMonitorMaximizedWindowSize)
End Sub
End class
{Width=1288, Height=746}