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

📄 刷卡结果.cs

📁 射频卡读写程序,C#版
💻 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 + -