about.cs

来自「C#APIcmpp3模拟网关」· CS 代码 · 共 81 行

CS
81
字号
//Created By Ajit Mungale
namespace UsingAPI
{
    using System;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.WinForms;

    public class about : System.WinForms.Form
    {
        
        private System.ComponentModel.Container components;
		private System.WinForms.Label label1;
		private System.WinForms.LinkLabel linkLabel1;
		private System.WinForms.Button button1;
		

        public about()
        {
            InitializeComponent();
        }
        public override void Dispose()
        {
            base.Dispose();
            components.Dispose();
        }

        private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container ();
			this.linkLabel1 = new System.WinForms.LinkLabel ();
			this.label1 = new System.WinForms.Label ();
			this.button1 = new System.WinForms.Button ();
			//@this.TrayHeight = 0;
			//@this.TrayLargeIcon = false;
			//@this.TrayAutoArrange = true;
			linkLabel1.Text = "Ajit Mungale";
			linkLabel1.Size = new System.Drawing.Size (64, 13);
			linkLabel1.AutoSize = true;
			linkLabel1.TabIndex = 1;
			linkLabel1.TabStop = true;
			linkLabel1.Location = new System.Drawing.Point (124, 40);
			linkLabel1.LinkClick += new System.EventHandler (this.linkLabel1_LinkClick);
			label1.Location = new System.Drawing.Point (95, 16);
			label1.Text = "Using API Created By....";
			label1.Size = new System.Drawing.Size (121, 13);
			label1.AutoSize = true;
			label1.TabIndex = 2;
			button1.Location = new System.Drawing.Point (118, 64);
			button1.FlatStyle = System.WinForms.FlatStyle.Flat;
			button1.Size = new System.Drawing.Size (75, 23);
			button1.TabIndex = 0;
			button1.Text = "OK";
			button1.Click += new System.EventHandler (this.button1_Click_1);
			this.Text = "About";
			this.MaximizeBox = false;
			this.StartPosition = System.WinForms.FormStartPosition.CenterParent;
			this.AutoScaleBaseSize = new System.Drawing.Size (5, 13);
			this.BorderStyle = System.WinForms.FormBorderStyle.Fixed3D;
			this.TransparencyKey = System.Drawing.Color.White;
			this.MinimizeBox = false;
			this.ClientSize = new System.Drawing.Size (310, 91);
			this.Controls.Add (this.label1);
			this.Controls.Add (this.linkLabel1);
			this.Controls.Add (this.button1);
		}

		protected void linkLabel1_LinkClick  (object sender, System.EventArgs e)
		{
			//mail to ajit
			System.Diagnostics.Process.Start("mailTo:ajit_mungale@hotmail.com");
		}

		protected void button1_Click_1 (object sender, System.EventArgs e)
		{
			this.Close();
		}
    }
}

⌨️ 快捷键说明

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