?? form7.cs
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 校園卡服務(wù)系統(tǒng)
{
/// <summary>
/// Form7 的摘要說明。
/// </summary>
public class Form7 : System.Windows.Forms.Form
{
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.RichTextBox richTextBox1;
/// <summary>
/// 必需的設(shè)計(jì)器變量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form7()
{
//
// Windows 窗體設(shè)計(jì)器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 調(diào)用后添加任何構(gòu)造函數(shù)代碼
//
}
/// <summary>
/// 清理所有正在使用的資源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗體設(shè)計(jì)器生成的代碼
/// <summary>
/// 設(shè)計(jì)器支持所需的方法 - 不要使用代碼編輯器修改
/// 此方法的內(nèi)容。
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form7));
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.SuspendLayout();
//
// button1
//
this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
this.button1.Location = new System.Drawing.Point(34, 394);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(43, 42);
this.button1.TabIndex = 0;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button2.BackgroundImage")));
this.button2.Location = new System.Drawing.Point(102, 352);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(43, 42);
this.button2.TabIndex = 1;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button3.BackgroundImage")));
this.button3.Location = new System.Drawing.Point(59, 352);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(43, 42);
this.button3.TabIndex = 2;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// button4
//
this.button4.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button4.BackgroundImage")));
this.button4.Location = new System.Drawing.Point(16, 352);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(43, 42);
this.button4.TabIndex = 3;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// button5
//
this.button5.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button5.BackgroundImage")));
this.button5.Location = new System.Drawing.Point(77, 394);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(43, 42);
this.button5.TabIndex = 4;
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// richTextBox1
//
this.richTextBox1.BackColor = System.Drawing.Color.Honeydew;
this.richTextBox1.Location = new System.Drawing.Point(72, 144);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.ReadOnly = true;
this.richTextBox1.Size = new System.Drawing.Size(232, 176);
this.richTextBox1.TabIndex = 5;
this.richTextBox1.Text = "";
//
// Form7
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(512, 480);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.button5);
this.Controls.Add(this.button4);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Form7";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Load += new System.EventHandler(this.Form7_Load);
this.ResumeLayout(false);
}
#endregion
private void Form7_Load(object sender, System.EventArgs e)
{
}
private void button5_Click(object sender, System.EventArgs e)
{
this.Close();
}
private void button4_Click(object sender, System.EventArgs e)
{
this.richTextBox1.Text="本軟件的所有權(quán)只屬于Aying,任何人在未得到本人的同意下使用或轉(zhuǎn)讓均屬違法行為。支持正版拒絕盜版是每個公民應(yīng)盡的責(zé)任。";
}
private void button3_Click(object sender, System.EventArgs e)
{
this.richTextBox1.Text="操作簡單,適合新學(xué)C# WINFORM設(shè)計(jì)的人參考。每個文本筐都限制了用戶使用鍵盤輸入,這是為了模擬ATM取款機(jī)的鍵盤。另外沒個文本框都有嚴(yán)格按照實(shí)際情況限制用戶輸入,比如說默認(rèn)密碼要6位數(shù)等等。";
}
private void button2_Click(object sender, System.EventArgs e)
{
this.richTextBox1.Text="設(shè)計(jì)簡單,適合新學(xué)WINFORM開發(fā)的人員參考,有意者請聯(lián)系:QQ:273491900 E-MAIL:aying996@163.com 另外有更好的想法或者需要我們改進(jìn)的地方請給我們發(fā)郵件。";
}
private void button1_Click(object sender, System.EventArgs e)
{
this.richTextBox1.Text="圖象制作、圖象處理、資料查找、界面設(shè)計(jì)、編程:aying ";
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -