Sunday, January 11, 2009

Mouse Event information tutorial example

using System;
using System.Drawing;
using System.Windows.Forms;

public class MainClass{
static void Main()
{
Console.WriteLine("DoubleClickSize"+ SystemInformation.DoubleClickSize.ToString());
Console.WriteLine("DoubleClickTime"+SystemInformation.DoubleClickTime.ToString());
Console.WriteLine("MouseButtons"+SystemInformation.MouseButtons.ToString());
Console.WriteLine("MouseButtonsSwapped"+SystemInformation.MouseButtonsSwapped.ToString());
Console.WriteLine("MousePresent"+SystemInformation.MousePresent.ToString());
Console.WriteLine("MouseWheelPresent"+SystemInformation.MouseWheelPresent.ToString());
Console.WriteLine("MouseWheelScrollLines"+SystemInformation.MouseWheelScrollLines.ToString());
Console.WriteLine("NativeMouseWheelSupport"+SystemInformation.NativeMouseWheelSupport.ToString());
}

}

0 comments:

Followers

Get our toolbar!

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | JCPenney Coupons