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