VB.Net Tutorial/Development/SystemInformation
System Information: DoubleClickSize, DoubleClickTime, MouseButtons, MouseButtonsSw apped
<source lang="vbnet">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</source>
{Width=4, Height=4} 500 5 False
System Information: MousePresent, MouseWheelPresent, MouseWheelScrollLines, Native MouseWheelSupport
<source lang="vbnet">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</source>
True True 3 True
SystemInformation.PrimaryMonitorMaximizedWindowSize
<source lang="vbnet">public class Test
public Shared Sub Main Console.WriteLine(System.Windows.Forms.SystemInformation.PrimaryMonitorMaximizedWindowSize) End Sub
End class</source>
{Width=1288, Height=746}