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

📄 aboutform.cs

📁 用C#实现的取得CellID和LAC的程序源代码!
💻 CS
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Reflection;

using NiceTracker.Config;
using NiceTracker.Libraries;

namespace NiceTracker
{
	/// <summary>
	/// Summary description for AboutForm.
	/// </summary>
	public class AboutForm : System.Windows.Forms.Form
	{
		private System.Windows.Forms.PictureBox pictureBoxLogo;
		private System.Windows.Forms.Label labelTitle;
		private System.Windows.Forms.Label labelVersion;
		private System.Windows.Forms.Panel panel1;
		private System.Windows.Forms.PictureBox pictureBoxBG;
		private System.Windows.Forms.Panel panelTop;
		private System.Windows.Forms.Panel panel2;
		private System.Windows.Forms.Label labelAuthor;
	
		public AboutForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AboutForm));
			this.pictureBoxLogo = new System.Windows.Forms.PictureBox();
			this.labelTitle = new System.Windows.Forms.Label();
			this.labelVersion = new System.Windows.Forms.Label();
			this.labelAuthor = new System.Windows.Forms.Label();
			this.panel1 = new System.Windows.Forms.Panel();
			this.pictureBoxBG = new System.Windows.Forms.PictureBox();
			this.panelTop = new System.Windows.Forms.Panel();
			this.panel2 = new System.Windows.Forms.Panel();
			// 
			// pictureBoxLogo
			// 
			this.pictureBoxLogo.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxLogo.Image")));
			this.pictureBoxLogo.Location = new System.Drawing.Point(0, 8);
			this.pictureBoxLogo.Size = new System.Drawing.Size(120, 50);
			// 
			// labelTitle
			// 
			this.labelTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold);
			this.labelTitle.Location = new System.Drawing.Point(120, 2);
			this.labelTitle.Size = new System.Drawing.Size(120, 24);
			this.labelTitle.Text = "NiceTrack";
			// 
			// labelVersion
			// 
			this.labelVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular);
			this.labelVersion.Location = new System.Drawing.Point(120, 44);
			this.labelVersion.Size = new System.Drawing.Size(120, 16);
			this.labelVersion.Text = "v9.9999";
			// 
			// labelAuthor
			// 
			this.labelAuthor.Location = new System.Drawing.Point(120, 26);
			this.labelAuthor.Size = new System.Drawing.Size(120, 20);
			this.labelAuthor.Text = "by James Sharp";
			// 
			// panel1
			// 
			this.panel1.Controls.Add(this.pictureBoxLogo);
			this.panel1.Controls.Add(this.labelAuthor);
			this.panel1.Controls.Add(this.labelVersion);
			this.panel1.Controls.Add(this.labelTitle);
			this.panel1.Location = new System.Drawing.Point(0, 88);
			this.panel1.Size = new System.Drawing.Size(240, 64);
			// 
			// pictureBoxBG
			// 
			this.pictureBoxBG.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxBG.Image")));
			this.pictureBoxBG.Size = new System.Drawing.Size(240, 320);
			// 
			// panelTop
			// 
			this.panelTop.BackColor = System.Drawing.Color.MidnightBlue;
			this.panelTop.Location = new System.Drawing.Point(0, 84);
			this.panelTop.Size = new System.Drawing.Size(240, 4);
			// 
			// panel2
			// 
			this.panel2.BackColor = System.Drawing.Color.MidnightBlue;
			this.panel2.Location = new System.Drawing.Point(0, 152);
			this.panel2.Size = new System.Drawing.Size(240, 4);
			// 
			// AboutForm
			// 
			this.Controls.Add(this.panel2);
			this.Controls.Add(this.panelTop);
			this.Controls.Add(this.panel1);
			this.Controls.Add(this.pictureBoxBG);
			this.Text = "AboutForm";
			this.Load += new System.EventHandler(this.AboutForm_Load);

		}
		#endregion

		private void AboutForm_Load(object sender, System.EventArgs e)
		{
			string version = Assembly.GetExecutingAssembly().GetName().Version.ToString();

			labelVersion.Text = "v" + version;

		}
	}
}

⌨️ 快捷键说明

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