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

📄 frmuser.cs

📁 学生类:Student 教师类:Teacher 主任:AdminTeacher 班主任:MasterTeacher 授课老师: PrelectTeacher 班级类:classTeam 班
💻 CS
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;


namespace Forms
{
	/// <summary>
	/// Form2 的摘要说明。
	/// </summary>
	public class frmUser : System.Windows.Forms.Form
	{
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox txtPurview;
		private System.Windows.Forms.TextBox txtPassWord;
		private System.Windows.Forms.TextBox txtUserName;
		private System.Windows.Forms.Button btnAddUser;
		private System.Windows.Forms.Button btnDelteUser;
		private System.Windows.Forms.Button btnExit;
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public frmUser()
		{
			//
			// 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.groupBox1 = new System.Windows.Forms.GroupBox();
			this.txtPurview = new System.Windows.Forms.TextBox();
			this.txtPassWord = new System.Windows.Forms.TextBox();
			this.txtUserName = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.btnAddUser = new System.Windows.Forms.Button();
			this.btnDelteUser = new System.Windows.Forms.Button();
			this.btnExit = new System.Windows.Forms.Button();
			this.groupBox1.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.txtPurview);
			this.groupBox1.Controls.Add(this.txtPassWord);
			this.groupBox1.Controls.Add(this.txtUserName);
			this.groupBox1.Controls.Add(this.label3);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Location = new System.Drawing.Point(0, 8);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(288, 128);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "用户管理";
			// 
			// txtPurview
			// 
			this.txtPurview.Location = new System.Drawing.Point(112, 90);
			this.txtPurview.Name = "txtPurview";
			this.txtPurview.Size = new System.Drawing.Size(160, 21);
			this.txtPurview.TabIndex = 5;
			this.txtPurview.Text = "";
			// 
			// txtPassWord
			// 
			this.txtPassWord.Location = new System.Drawing.Point(112, 56);
			this.txtPassWord.Name = "txtPassWord";
			this.txtPassWord.Size = new System.Drawing.Size(160, 21);
			this.txtPassWord.TabIndex = 4;
			this.txtPassWord.Text = "";
			// 
			// txtUserName
			// 
			this.txtUserName.Location = new System.Drawing.Point(112, 24);
			this.txtUserName.Name = "txtUserName";
			this.txtUserName.Size = new System.Drawing.Size(160, 21);
			this.txtUserName.TabIndex = 3;
			this.txtUserName.Text = "";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(16, 90);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(80, 16);
			this.label3.TabIndex = 2;
			this.label3.Text = "权限:";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(16, 58);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(80, 16);
			this.label2.TabIndex = 1;
			this.label2.Text = "密码:";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(16, 24);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(80, 16);
			this.label1.TabIndex = 0;
			this.label1.Text = "用户名:";
			this.label1.Click += new System.EventHandler(this.label1_Click);
			// 
			// btnAddUser
			// 
			this.btnAddUser.Location = new System.Drawing.Point(16, 160);
			this.btnAddUser.Name = "btnAddUser";
			this.btnAddUser.TabIndex = 1;
			this.btnAddUser.Text = "添加用户";
			this.btnAddUser.Click += new System.EventHandler(this.btnAddUser_Click);
			// 
			// btnDelteUser
			// 
			this.btnDelteUser.Location = new System.Drawing.Point(112, 160);
			this.btnDelteUser.Name = "btnDelteUser";
			this.btnDelteUser.TabIndex = 2;
			this.btnDelteUser.Text = "删除用户";
			// 
			// btnExit
			// 
			this.btnExit.Location = new System.Drawing.Point(200, 160);
			this.btnExit.Name = "btnExit";
			this.btnExit.TabIndex = 3;
			this.btnExit.Text = "退出(&C)";
			// 
			// frmUser
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(292, 197);
			this.Controls.Add(this.btnExit);
			this.Controls.Add(this.btnDelteUser);
			this.Controls.Add(this.btnAddUser);
			this.Controls.Add(this.groupBox1);
			this.Name = "frmUser";
			this.Text = "用户信息管理";
			this.groupBox1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		private void label1_Click(object sender, System.EventArgs e)
		{
		
		}

		private void btnAddUser_Click(object sender, System.EventArgs e)
		{
		
		}
	}
}

⌨️ 快捷键说明

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