Exemple #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);
        }
Exemple #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);
        }