示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UsbForm"/> class. This creates a private an instance of a private class here to do the monitoring of the usb device change events.
 /// </summary>
 /// <param name="handleFactory">
 /// The handle factory.
 /// </param>
 public UsbForm(IHandleFactory handleFactory)
 {
     _control = new TheControl();
     _handleFactory = handleFactory;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UsbForm"/> class. This creates a private an instance of a private class here to do the monitoring of the usb device change events.
 /// </summary>
 /// <param name="handleFactory">
 /// The handle factory.
 /// </param>
 public UsbForm(IHandleFactory handleFactory)
 {
     _control       = new TheControl();
     _handleFactory = handleFactory;
 }