Exemplo n.º 1
0
        /// <summary>
        /// The executable entry point.
        /// </summary>
        public static void Main()
        {
            myApplication = new MyPuzzle();

            // 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();

            // Start the application.
            myApplication.Run(mainWindow);
        }
Exemplo n.º 2
0
        /// <summary>
        /// The executable entry point.
        /// </summary>
        public static void Main()
        {
            myApplication = new MyPuzzle();

            // 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();

            // Start the application.
            myApplication.Run(mainWindow);
        }