⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 about.cs

📁 SmartNotePad v1.0原代码
💻 CS
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace File_browser
{
	/// <summary>
	/// About 的摘要说明。
	/// </summary>
	public class About : System.Windows.Forms.Form
	{
		private System.Windows.Forms.MenuItem menuSure;
		private System.Windows.Forms.Label abouttext;
		private System.Windows.Forms.MainMenu mainAbout;
	
		public About()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			this.mainAbout = new System.Windows.Forms.MainMenu();
			this.menuSure = new System.Windows.Forms.MenuItem();
			this.abouttext = new System.Windows.Forms.Label();
			// 
			// mainAbout
			// 
			this.mainAbout.MenuItems.Add(this.menuSure);
			// 
			// menuSure
			// 
			this.menuSure.Text = "确定";
			this.menuSure.Click += new System.EventHandler(this.menuSure_Click);
			// 
			// abouttext
			// 
			this.abouttext.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular);
			this.abouttext.Location = new System.Drawing.Point(4, 4);
			this.abouttext.Size = new System.Drawing.Size(170, 180);
			// 
			// About
			// 
			this.Controls.Add(this.abouttext);
			this.Menu = this.mainAbout;
			this.Text = "关于本程序";
			this.Load += new System.EventHandler(this.About_Load);

		}
		#endregion

		private void menuSure_Click(object sender, System.EventArgs e)
		{
			this.Close();
		}

		private void About_Load(object sender, System.EventArgs e)
		{
			abouttext.Text = "名称:SmartNotePad\n";
			abouttext.Text += "版本:v 1.0\n\n";
			abouttext.Text += "作者:hance\n";
			abouttext.Text += "Email:hance@martcn.com\n\n";
			abouttext.Text += "作者声明:\n";
			abouttext.Text += "1.任何人在未经允许的情况下不得将本软件用于商业用途。\n";
			abouttext.Text += "2.非赢利用户可以任意复制传播此软件。\n";
			abouttext.Text += "3.有任何意见和建议请写邮件给我。";
		}


	}
}

⌨️ 快捷键说明

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