📄 form7.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 校园卡服务系统
{
/// <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>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form7()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </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="本软件的所有权只属于Aying,任何人在未得到本人的同意下使用或转让均属违法行为。支持正版拒绝盗版是每个公民应尽的责任。";
}
private void button3_Click(object sender, System.EventArgs e)
{
this.richTextBox1.Text="操作简单,适合新学C# WINFORM设计的人参考。每个文本筐都限制了用户使用键盘输入,这是为了模拟ATM取款机的键盘。另外没个文本框都有严格按照实际情况限制用户输入,比如说默认密码要6位数等等。";
}
private void button2_Click(object sender, System.EventArgs e)
{
this.richTextBox1.Text="设计简单,适合新学WINFORM开发的人员参考,有意者请联系:QQ:273491900 E-MAIL:aying996@163.com 另外有更好的想法或者需要我们改进的地方请给我们发邮件。";
}
private void button1_Click(object sender, System.EventArgs e)
{
this.richTextBox1.Text="图象制作、图象处理、资料查找、界面设计、编程:aying ";
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -