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

📄 addemployee.cs

📁 北大青鸟内部资料
💻 CS
📖 第 1 页 / 共 5 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace ApplicationForm
{
	/// <summary>
	/// Summary description for Form1.
	/// </summary>
	public class AddEmployeeForm : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button btnExit;

		private System.Windows.Forms.Button btnAddEmployee;
		private System.Windows.Forms.Label lblCourses;
		private System.Windows.Forms.Label lblWorkLoad;
		private System.Windows.Forms.ListBox lstCourseList;
		private System.Windows.Forms.ListBox lstWorkLoadList;
		private System.Windows.Forms.ComboBox cboEmpStatus;
		private System.Windows.Forms.Label lblEmpStatus;
		private System.Windows.Forms.ComboBox cboEmployeeType;
		private System.Windows.Forms.Label lblEmployeeID;
		private System.Windows.Forms.TextBox txtEmployeeID;
		private System.Windows.Forms.TextBox txtPerAddress;
		private System.Windows.Forms.Label lblPerAddress;
		private System.Windows.Forms.Label lblEmployeeType;
		private System.Windows.Forms.TextBox txtAddress;
		private System.Windows.Forms.TextBox txtFirstName;
		private System.Windows.Forms.Label lblAddress;
		private System.Windows.Forms.TextBox txtLastName;
		private System.Windows.Forms.TextBox txtTelePhone;
		private System.Windows.Forms.Label lblName;
		private System.Windows.Forms.GroupBox grpDetails;
		private System.Windows.Forms.Label lblSex;
		private System.Windows.Forms.GroupBox grpCourse;
		private System.Windows.Forms.Label lblTelephone;
		private System.Windows.Forms.RadioButton radFemale;
		private System.Windows.Forms.RadioButton radMale;
		private System.Windows.Forms.TextBox txtAreacode;
		private System.Windows.Forms.Label lblCode;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public AddEmployeeForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AddEmployeeForm));
			System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
			this.lblCourses = new System.Windows.Forms.Label();
			this.grpCourse = new System.Windows.Forms.GroupBox();
			this.lstWorkLoadList = new System.Windows.Forms.ListBox();
			this.lstCourseList = new System.Windows.Forms.ListBox();
			this.lblWorkLoad = new System.Windows.Forms.Label();
			this.grpDetails = new System.Windows.Forms.GroupBox();
			this.cboEmpStatus = new System.Windows.Forms.ComboBox();
			this.radFemale = new System.Windows.Forms.RadioButton();
			this.lblEmpStatus = new System.Windows.Forms.Label();
			this.radMale = new System.Windows.Forms.RadioButton();
			this.lblSex = new System.Windows.Forms.Label();
			this.cboEmployeeType = new System.Windows.Forms.ComboBox();
			this.lblEmployeeID = new System.Windows.Forms.Label();
			this.txtEmployeeID = new System.Windows.Forms.TextBox();
			this.txtPerAddress = new System.Windows.Forms.TextBox();
			this.txtAreacode = new System.Windows.Forms.TextBox();
			this.lblPerAddress = new System.Windows.Forms.Label();
			this.lblEmployeeType = new System.Windows.Forms.Label();
			this.txtAddress = new System.Windows.Forms.TextBox();
			this.txtFirstName = new System.Windows.Forms.TextBox();
			this.lblAddress = new System.Windows.Forms.Label();
			this.lblTelephone = new System.Windows.Forms.Label();
			this.txtLastName = new System.Windows.Forms.TextBox();
			this.txtTelePhone = new System.Windows.Forms.TextBox();
			this.lblName = new System.Windows.Forms.Label();
			this.btnAddEmployee = new System.Windows.Forms.Button();
			this.btnExit = new System.Windows.Forms.Button();
			this.lblCode = new System.Windows.Forms.Label();
			this.grpCourse.SuspendLayout();
			this.grpDetails.SuspendLayout();
			this.SuspendLayout();
			// 
			// lblCourses
			// 
			this.lblCourses.AccessibleDescription = resources.GetString("lblCourses.AccessibleDescription");
			this.lblCourses.AccessibleName = resources.GetString("lblCourses.AccessibleName");
			this.lblCourses.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lblCourses.Anchor")));
			this.lblCourses.AutoSize = ((bool)(resources.GetObject("lblCourses.AutoSize")));
			this.lblCourses.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lblCourses.Dock")));
			this.lblCourses.Enabled = ((bool)(resources.GetObject("lblCourses.Enabled")));
			this.lblCourses.Font = ((System.Drawing.Font)(resources.GetObject("lblCourses.Font")));
			this.lblCourses.Image = ((System.Drawing.Image)(resources.GetObject("lblCourses.Image")));
			this.lblCourses.ImageAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCourses.ImageAlign")));
			this.lblCourses.ImageIndex = ((int)(resources.GetObject("lblCourses.ImageIndex")));
			this.lblCourses.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lblCourses.ImeMode")));
			this.lblCourses.Location = ((System.Drawing.Point)(resources.GetObject("lblCourses.Location")));
			this.lblCourses.Name = "lblCourses";
			this.lblCourses.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("lblCourses.RightToLeft")));
			this.lblCourses.Size = ((System.Drawing.Size)(resources.GetObject("lblCourses.Size")));
			this.lblCourses.TabIndex = ((int)(resources.GetObject("lblCourses.TabIndex")));
			this.lblCourses.Text = resources.GetString("lblCourses.Text");
			this.lblCourses.TextAlign = ((System.Drawing.ContentAlignment)(resources.GetObject("lblCourses.TextAlign")));
			this.lblCourses.Visible = ((bool)(resources.GetObject("lblCourses.Visible")));
			// 
			// grpCourse
			// 
			this.grpCourse.AccessibleDescription = resources.GetString("grpCourse.AccessibleDescription");
			this.grpCourse.AccessibleName = resources.GetString("grpCourse.AccessibleName");
			this.grpCourse.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("grpCourse.Anchor")));
			this.grpCourse.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("grpCourse.BackgroundImage")));
			this.grpCourse.Controls.Add(this.lstWorkLoadList);
			this.grpCourse.Controls.Add(this.lstCourseList);
			this.grpCourse.Controls.Add(this.lblWorkLoad);
			this.grpCourse.Controls.Add(this.lblCourses);
			this.grpCourse.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("grpCourse.Dock")));
			this.grpCourse.Enabled = ((bool)(resources.GetObject("grpCourse.Enabled")));
			this.grpCourse.Font = ((System.Drawing.Font)(resources.GetObject("grpCourse.Font")));
			this.grpCourse.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("grpCourse.ImeMode")));
			this.grpCourse.Location = ((System.Drawing.Point)(resources.GetObject("grpCourse.Location")));
			this.grpCourse.Name = "grpCourse";
			this.grpCourse.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("grpCourse.RightToLeft")));
			this.grpCourse.Size = ((System.Drawing.Size)(resources.GetObject("grpCourse.Size")));
			this.grpCourse.TabIndex = ((int)(resources.GetObject("grpCourse.TabIndex")));
			this.grpCourse.TabStop = false;
			this.grpCourse.Text = resources.GetString("grpCourse.Text");
			this.grpCourse.Visible = ((bool)(resources.GetObject("grpCourse.Visible")));
			// 
			// lstWorkLoadList
			// 
			this.lstWorkLoadList.AccessibleDescription = resources.GetString("lstWorkLoadList.AccessibleDescription");
			this.lstWorkLoadList.AccessibleName = resources.GetString("lstWorkLoadList.AccessibleName");
			this.lstWorkLoadList.Anchor = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("lstWorkLoadList.Anchor")));
			this.lstWorkLoadList.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("lstWorkLoadList.BackgroundImage")));
			this.lstWorkLoadList.ColumnWidth = ((int)(resources.GetObject("lstWorkLoadList.ColumnWidth")));
			this.lstWorkLoadList.Dock = ((System.Windows.Forms.DockStyle)(resources.GetObject("lstWorkLoadList.Dock")));
			this.lstWorkLoadList.Enabled = ((bool)(resources.GetObject("lstWorkLoadList.Enabled")));
			this.lstWorkLoadList.Font = ((System.Drawing.Font)(resources.GetObject("lstWorkLoadList.Font")));
			this.lstWorkLoadList.HorizontalExtent = ((int)(resources.GetObject("lstWorkLoadList.HorizontalExtent")));
			this.lstWorkLoadList.HorizontalScrollbar = ((bool)(resources.GetObject("lstWorkLoadList.HorizontalScrollbar")));
			this.lstWorkLoadList.ImeMode = ((System.Windows.Forms.ImeMode)(resources.GetObject("lstWorkLoadList.ImeMode")));
			this.lstWorkLoadList.IntegralHeight = ((bool)(resources.GetObject("lstWorkLoadList.IntegralHeight")));
			this.lstWorkLoadList.ItemHeight = ((int)(resources.GetObject("lstWorkLoadList.ItemHeight")));
			this.lstWorkLoadList.Items.AddRange(new object[] {
																 resources.GetString("lstWorkLoadList.Items"),
																 resources.GetString("lstWorkLoadList.Items1"),

⌨️ 快捷键说明

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