public static void Main() { WPFHost.App app = new WPFHost.App(); app.InitializeComponent(); app.Run(); }