?? 刷卡結果.cs
字號:
namespace 畢業設計
{
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 射頻卡
{
/// <summary>
/// CardInfo 的摘要說明。
/// </summary>
public class 讀卡結果 : System.Windows.Forms.Form
{
public System.Windows.Forms.Label lbCardNo;
public System.Windows.Forms.Label lbReason;
private System.Windows.Forms.Button btnConfirm;
/// <summary>
/// 必需的設計器變量。
/// </summary>
private System.ComponentModel.Container components = null;
public string Title;
public 讀卡結果()
{
//
// 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()
{
this.lbCardNo = new System.Windows.Forms.Label();
this.lbReason = new System.Windows.Forms.Label();
this.btnConfirm = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbCardNo
//
this.lbCardNo.Location = new System.Drawing.Point(8, 24);
this.lbCardNo.Name = "lbCardNo";
this.lbCardNo.Size = new System.Drawing.Size(184, 23);
this.lbCardNo.TabIndex = 0;
this.lbCardNo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// lbReason
//
this.lbReason.Location = new System.Drawing.Point(8, 56);
this.lbReason.Name = "lbReason";
this.lbReason.Size = new System.Drawing.Size(184, 23);
this.lbReason.TabIndex = 1;
this.lbReason.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btnConfirm
//
this.btnConfirm.Location = new System.Drawing.Point(72, 96);
this.btnConfirm.Name = "btnConfirm";
this.btnConfirm.TabIndex = 2;
this.btnConfirm.Text = "確定";
this.btnConfirm.Click += new System.EventHandler(this.btnConfirm_Click);
//
// 讀卡結果
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(224, 126);
this.Controls.Add(this.btnConfirm);
this.Controls.Add(this.lbReason);
this.Controls.Add(this.lbCardNo);
this.Name = "讀卡結果";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "不能注冊的卡";
this.Load += new System.EventHandler(this.讀卡結果_Load);
this.ResumeLayout(false);
}
#endregion
private void btnConfirm_Click(object sender, System.EventArgs e)
{
this.Close();
}
private void 讀卡結果_Load(object sender, System.EventArgs e)
{
this.Text=this.Title;
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -