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