VB.Net by API/System.Windows.Forms/SystemInformation

Материал из VB Эксперт
Перейти к: навигация, поиск

SystemInformation.DoubleClickSize

<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>


SystemInformation.DoubleClickTime

<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>


SystemInformation.MouseButtons

<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>


SystemInformation.MouseButtonsSwapped

<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>


SystemInformation.PrimaryMonitorMaximizedWindowSize

<source lang="vbnet">

public class Test

  public Shared Sub Main
       Console.WriteLine(System.Windows.Forms.SystemInformation.PrimaryMonitorMaximizedWindowSize)
  End Sub

End class


 </source>