class1.cs

来自「c#精彩编程百例(源代码)」· CS 代码 · 共 27 行

CS
27
字号
namespace AboutBoxExample
{
    using System;
	using System.WinForms;

    /// <summary>
    ///    Summary description for Class1.
    /// </summary>
    public class AboutBox:Form
    {
        public string Author;          // 显示作者
        public string AppName;         //  显示应用程序的名称
        public string Version;         //  应用程序的版本号
        public string Date;            // 应用程序开发日期
		public AboutBox()
        {
            //
            // TODO: Add Constructor Logic here
            //
        }
		public void ShowAboutBox()
        {
          InitDialog();
         }
    }
}

⌨️ 快捷键说明

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