예제 #1
0
        /// <summary>
        /// The executable entry point.
        /// </summary>
        public static void Main()
        {
            // Create a new program object.
            MyTemperature myApplication = new MyTemperature();

            // Create the main window.
            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);
        }
예제 #2
0
        /// <summary>
        /// The executable entry point.
        /// </summary>
        public static void Main()
        {
            // Create a new program object.
            MyTemperature myApplication = new MyTemperature();

            // Create the main window.
            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);
        }