Exemple #1
0
 public StylusDeviceInfo(int id, string name, string pnpId, TabletHardwareCapabilities capabilities,
                         Size tabletSize, Size screenSize, TabletDeviceType deviceType, int maxContacts)
 {
     Id            = id;
     Name          = name;
     PlugAndPlayId = pnpId;
     Capabilities  = capabilities.ToString("F");
     TabletSize    = new StylusTraceLogger.StylusSize(tabletSize);
     ScreenSize    = new StylusTraceLogger.StylusSize(screenSize);
     DeviceType    = deviceType.ToString("F");
     MaxContacts   = maxContacts;
 }