namespace TestApplication { using Perspex; using Perspex.Direct2D1; using Perspex.Themes.Default; using Perspex.Windows; public class App : Application { public App() { this.RegisterServices(); Direct2D1Platform.Initialize(); WindowsPlatform.Initialize(); this.Styles = new DefaultTheme(); } } }