startup.cs

来自「用ADSI操作IIS文件」· CS 代码 · 共 38 行

CS
38
字号
// IIsAdmin.NET
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
// 
// This softwareis provided "AS IS" with no warranties of any kind.
// The entire risk arising out of the use or performance of the software
// and source code is with you.
//
// THIS NOTICE MAY NOT BE REMOVED FROM THIS FILE.

using System;
using System.Diagnostics;
using System.Windows.Forms;

namespace IIsAdmin
{
	/// <summary>
	/// Summary description for Startup.
	/// </summary>
	public class Startup
	{
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        public static void Main(string[] args)
        {
            using (IIsAdministrator iisAdministrator = new IIsAdministrator())
            {
                Application.Run(new IIsMainWindow(iisAdministrator));
            }
        }		
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?