首页 > 其他 > 详细

Program.cs

时间:2015-02-14 16:05:12      阅读:323      评论:0      收藏:0      [点我收藏+]

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();
        }
    }
}

Program.cs

原文:http://www.cnblogs.com/zisezhixin/p/4291847.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!