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

📄 初始化状态.cs

📁 射频卡读写程序,C#版
💻 CS
字号:
namespace 毕业设计
{
	using System;
	using System.Drawing;
	using System.Collections;
	using System.ComponentModel;
	using System.Windows.Forms;

	namespace 射频卡
	{
		/// <summary>
		/// Status 的摘要说明。
		/// </summary>
		public class 初始化状态 : System.Windows.Forms.Form
		{
			private System.Windows.Forms.Timer timer;
			public System.Windows.Forms.Label lbStatus;
			private System.ComponentModel.IContainer components;

			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.components = new System.ComponentModel.Container();
				this.lbStatus = new System.Windows.Forms.Label();
				this.timer = new System.Windows.Forms.Timer(this.components);
				this.SuspendLayout();
				// 
				// lbStatus
				// 
				this.lbStatus.BackColor = System.Drawing.Color.Silver;
				this.lbStatus.Location = new System.Drawing.Point(0, 0);
				this.lbStatus.Name = "lbStatus";
				this.lbStatus.Size = new System.Drawing.Size(296, 48);
				this.lbStatus.TabIndex = 0;
				this.lbStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
				// 
				// timer
				// 
				this.timer.Interval = 1000;
				this.timer.Tick += new System.EventHandler(this.timer_Tick);
				// 
				// Status
				// 
				this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
				this.BackColor = System.Drawing.Color.Silver;
				this.ClientSize = new System.Drawing.Size(292, 46);
				this.Controls.Add(this.lbStatus);
				this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
				this.Name = "Status";
				this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
				this.TopMost = true;
				this.TransparencyKey = System.Drawing.Color.Silver;
				this.Load += new System.EventHandler(this.Status_Load);
				this.ResumeLayout(false);

			}
			#endregion

			private void timer_Tick(object sender, System.EventArgs e)
			{
				this.Close();
			}

			private void Status_Load(object sender, System.EventArgs e)
			{
				this.timer.Enabled=true;
			}

		
		}
	}
}

⌨️ 快捷键说明

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