/* InterfaceKit simple - **************************************************************************************** * This simple example creates an Interfacekit object, hooks the event handlers, and * opens it for connections to IntefaceKit Phidgets. It will then wait for user input to * terminate, and in the meantime, display event generated data from the InterfaceKit. * For a more detailed example, please see the InterfaceKit-full example. * * Please note that this example was designed to work with only one Phidget InterfaceKit * connected. * For an example showing how to use two Phidgets of the same time concurrently, please see the * Servo-multi example in the Servo Examples. * * Copyright 2007 Phidgets Inc. * This work is licensed under the Creative Commons Attribution 2.5 Canada License. * To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/ca/ */ using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; //Needed for the InterfaceKit class, phidget base classes, and the PhidgetException class //Needed for the event handling classes namespace InterfaceKit_simple { class Program { //Declare an InterfaceKit object static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); } } }