/// <summary> /// Execution entry point. /// </summary> public static void Main() { myApplication = new MyTouchCalibration(); // Touch notifications are not turned on by default. You need to // explicitly inform the Touch engine that you want touch events to // be pumped to your direction, and you want to work with the rest // of the architecture. Microsoft.SPOT.Touch.Touch.Initialize(myApplication); Window mainWindow = myApplication.CreateWindow(); // Create the object that configures the GPIO pins to buttons. GPIOButtonInputProvider inputProvider = new GPIOButtonInputProvider(null); // Start the application. myApplication.Run(mainWindow); }