예제 #1
0
        public static void Main()
        {
            GPIOButtonInputProvider inputProvider = new GPIOButtonInputProvider(null);

            SampleApplication myApplication = new SampleApplication();

            Window mainWindow = myApplication.CreateUI();
            mainWindow.Background = new SolidColorBrush(Colors.Black);
            mainWindow.Visibility = Visibility.Visible;

            myApplication.Run(mainWindow);
        }
예제 #2
0
        public static void Main()
        {
            GPIOButtonInputProvider inputProvider = new GPIOButtonInputProvider(null);

            SampleApplication myApplication = new SampleApplication();

            Window mainWindow = myApplication.CreateUI();

            mainWindow.Background = new SolidColorBrush(Colors.Black);
            mainWindow.Visibility = Visibility.Visible;

            myApplication.Run(mainWindow);
        }