码迷,mamicode.com
首页 > 其他好文 > 详细

Program.cs

时间:2015-02-14 16:08:30      阅读:183      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!