The gui application shows the state of all device components for all connected and configured devices. When creating a new device component type a user control must be created to specify how the state of that device component type is to be displayed to the end user.

To create a new device component state ui inherit from System.Windows.Forms.UserControl and implement the IDeviceComponentStateUI interfaces. The DeviceComponentStateUI attribute must also be applied. Calls to the update method will often be instigated by devices on threads other than the UI thread, so any interaction with on screen controls should be done through the control's invoke method.

Last edited Nov 20, 2009 at 5:57 PM by PhilipB, version 1


No comments yet.