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