Program.cs

Program.cs

using System;

namespace HelloWorld
{
    class Program
    {
        [STAThread]
        static void Main(string[] args)
        {
            App app = new App();

            Bootstrapper bootstrapper = new Bootstrapper();
            bootstrapper.Run();

            app.Run();
        }
    }
}

App.xaml.cs

using System.Windows;

namespace HelloWorld
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            this.InitializeComponent();
        }
    }
}
posted @ 2015-02-14 15:03  陈意  阅读(213)  评论(0编辑  收藏  举报