Inheritance: ITouchCapabilities
 public static bool HaveTouchCapabilities()
 {
     var touch = new TouchCapabilities();
     return touch.TouchPresent > 0;
 }
 static SystemMetricsInfo()
 {
     TouchCapabilitiesExt = new TouchCapabilities();
     KeyboardCapabilitiesExt = new KeyboardCapabilities();
     MouseCapabilitiesExt = new MouseCapabilities();
 }
Ejemplo n.º 3
0
 public TouchCaps()
 {
     var touchCaps = new TouchCapabilities();
     IsPresent = touchCaps.TouchPresent != 0;
     NumberOfcontacts = touchCaps.Contacts;
 }