www.pudn.com > MainPrj_CarShop.rar > frmAddEmployees.cs


using System; 
using System.Drawing; 
using System.Collections; 
using System.ComponentModel; 
using System.Windows.Forms; 
 
namespace MainPrj_CarShop 
{ 
	///  
	/// frmAddEmployees 的摘要说明。 
	///  
	public class frmAddEmployees : System.Windows.Forms.Form 
	{ 
		private System.Windows.Forms.Label label1; 
		private System.Windows.Forms.TextBox textBox1; 
		private Panel panel1; 
		private DataGrid dataGrid1; 
		private TextBox textBox2; 
		private TextBox textBox3; 
		private TextBox textBox4; 
		private TextBox textBox5; 
		private TextBox textBox6; 
		private TextBox textBox7; 
		private TextBox textBox8; 
		private TextBox textBox9; 
		private TextBox textBox10; 
		private TextBox textBox11; 
		private TextBox textBox12; 
		private TextBox textBox13; 
		private System.Windows.Forms.Label label2; 
		private System.Windows.Forms.Label label3; 
		private System.Windows.Forms.Label label4; 
		private System.Windows.Forms.Label label5; 
		private System.Windows.Forms.Label label6; 
		private System.Windows.Forms.Label label7; 
		private System.Windows.Forms.Label label8; 
		private System.Windows.Forms.Label label9; 
		private System.Windows.Forms.Label label10; 
		private System.Windows.Forms.Label label11; 
		private System.Windows.Forms.Label label12; 
		private System.Windows.Forms.Label label13; 
 
		///  
		/// 必需的设计器变量。 
		///  
		private System.ComponentModel.Container components = null; 
 
		public frmAddEmployees() 
		{ 
			// 
			// Windows 窗体设计器支持所必需的 
			// 
			InitializeComponent(); 
 
			// 
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码 
			// 
		} 
 
		///  
		/// 清理所有正在使用的资源。 
		///  
		protected override void Dispose( bool disposing ) 
		{ 
			if( disposing ) 
			{ 
				if(components != null) 
				{ 
					components.Dispose(); 
				} 
			} 
			base.Dispose( disposing ); 
		} 
 
		#region Windows 窗体设计器生成的代码 
		///  
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改 
		/// 此方法的内容。 
		///  
		private void InitializeComponent() 
		{ 
			this.panel1 = new System.Windows.Forms.Panel(); 
			this.dataGrid1 = new System.Windows.Forms.DataGrid(); 
			this.textBox1 = new System.Windows.Forms.TextBox(); 
			this.label1 = new System.Windows.Forms.Label(); 
			this.textBox2 = new System.Windows.Forms.TextBox(); 
			this.label2 = new System.Windows.Forms.Label(); 
			this.textBox3 = new System.Windows.Forms.TextBox(); 
			this.label3 = new System.Windows.Forms.Label(); 
			this.textBox4 = new System.Windows.Forms.TextBox(); 
			this.label4 = new System.Windows.Forms.Label(); 
			this.textBox5 = new System.Windows.Forms.TextBox(); 
			this.label5 = new System.Windows.Forms.Label(); 
			this.textBox6 = new System.Windows.Forms.TextBox(); 
			this.label6 = new System.Windows.Forms.Label(); 
			this.textBox7 = new System.Windows.Forms.TextBox(); 
			this.label7 = new System.Windows.Forms.Label(); 
			this.textBox8 = new System.Windows.Forms.TextBox(); 
			this.label8 = new System.Windows.Forms.Label(); 
			this.textBox9 = new System.Windows.Forms.TextBox(); 
			this.label9 = new System.Windows.Forms.Label(); 
			this.textBox10 = new System.Windows.Forms.TextBox(); 
			this.label10 = new System.Windows.Forms.Label(); 
			this.textBox11 = new System.Windows.Forms.TextBox(); 
			this.label11 = new System.Windows.Forms.Label(); 
			this.textBox12 = new System.Windows.Forms.TextBox(); 
			this.label12 = new System.Windows.Forms.Label(); 
			this.textBox13 = new System.Windows.Forms.TextBox(); 
			this.label13 = new System.Windows.Forms.Label(); 
			this.panel1.SuspendLayout(); 
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); 
			this.SuspendLayout(); 
			//  
			// panel1 
			//  
			this.panel1.Controls.Add(this.textBox13); 
			this.panel1.Controls.Add(this.label13); 
			this.panel1.Controls.Add(this.textBox12); 
			this.panel1.Controls.Add(this.label12); 
			this.panel1.Controls.Add(this.textBox11); 
			this.panel1.Controls.Add(this.label11); 
			this.panel1.Controls.Add(this.textBox10); 
			this.panel1.Controls.Add(this.label10); 
			this.panel1.Controls.Add(this.textBox9); 
			this.panel1.Controls.Add(this.label9); 
			this.panel1.Controls.Add(this.textBox8); 
			this.panel1.Controls.Add(this.label8); 
			this.panel1.Controls.Add(this.textBox7); 
			this.panel1.Controls.Add(this.label7); 
			this.panel1.Controls.Add(this.textBox6); 
			this.panel1.Controls.Add(this.label6); 
			this.panel1.Controls.Add(this.textBox5); 
			this.panel1.Controls.Add(this.label5); 
			this.panel1.Controls.Add(this.textBox4); 
			this.panel1.Controls.Add(this.label4); 
			this.panel1.Controls.Add(this.textBox3); 
			this.panel1.Controls.Add(this.label3); 
			this.panel1.Controls.Add(this.textBox2); 
			this.panel1.Controls.Add(this.label2); 
			this.panel1.Controls.Add(this.textBox1); 
			this.panel1.Controls.Add(this.label1); 
			this.panel1.Dock = System.Windows.Forms.DockStyle.Top; 
			this.panel1.Location = new System.Drawing.Point(0, 0); 
			this.panel1.Name = "panel1"; 
			this.panel1.Size = new System.Drawing.Size(542, 272); 
			this.panel1.TabIndex = 0; 
			//  
			// dataGrid1 
			//  
			this.dataGrid1.DataMember = ""; 
			this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; 
			this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; 
			this.dataGrid1.Location = new System.Drawing.Point(0, 272); 
			this.dataGrid1.Name = "dataGrid1"; 
			this.dataGrid1.Size = new System.Drawing.Size(542, 301); 
			this.dataGrid1.TabIndex = 1; 
			//  
			// textBox1 
			//  
			this.textBox1.Location = new System.Drawing.Point(72, 16); 
			this.textBox1.Name = "textBox1"; 
			this.textBox1.Size = new System.Drawing.Size(136, 21); 
			this.textBox1.TabIndex = 3; 
			this.textBox1.Text = ""; 
			//  
			// label1 
			//  
			this.label1.AutoSize = true; 
			this.label1.Location = new System.Drawing.Point(13, 18); 
			this.label1.Name = "label1"; 
			this.label1.Size = new System.Drawing.Size(54, 17); 
			this.label1.TabIndex = 2; 
			this.label1.Text = "员工编号"; 
			//  
			// textBox2 
			//  
			this.textBox2.Location = new System.Drawing.Point(72, 128); 
			this.textBox2.Name = "textBox2"; 
			this.textBox2.Size = new System.Drawing.Size(136, 21); 
			this.textBox2.TabIndex = 5; 
			this.textBox2.Text = ""; 
			//  
			// label2 
			//  
			this.label2.AutoSize = true; 
			this.label2.Location = new System.Drawing.Point(13, 130); 
			this.label2.Name = "label2"; 
			this.label2.Size = new System.Drawing.Size(54, 17); 
			this.label2.TabIndex = 4; 
			this.label2.Text = "身份证号"; 
			//  
			// textBox3 
			//  
			this.textBox3.Location = new System.Drawing.Point(72, 88); 
			this.textBox3.Name = "textBox3"; 
			this.textBox3.Size = new System.Drawing.Size(136, 21); 
			this.textBox3.TabIndex = 7; 
			this.textBox3.Text = ""; 
			//  
			// label3 
			//  
			this.label3.AutoSize = true; 
			this.label3.Location = new System.Drawing.Point(13, 96); 
			this.label3.Name = "label3"; 
			this.label3.Size = new System.Drawing.Size(54, 17); 
			this.label3.TabIndex = 6; 
			this.label3.Text = "姓名拼音"; 
			//  
			// textBox4 
			//  
			this.textBox4.Location = new System.Drawing.Point(72, 166); 
			this.textBox4.Name = "textBox4"; 
			this.textBox4.Size = new System.Drawing.Size(136, 21); 
			this.textBox4.TabIndex = 9; 
			this.textBox4.Text = ""; 
			//  
			// label4 
			//  
			this.label4.AutoSize = true; 
			this.label4.Location = new System.Drawing.Point(19, 168); 
			this.label4.Name = "label4"; 
			this.label4.Size = new System.Drawing.Size(48, 17); 
			this.label4.TabIndex = 8; 
			this.label4.Text = "职   务"; 
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 
			//  
			// textBox5 
			//  
			this.textBox5.Location = new System.Drawing.Point(336, 242); 
			this.textBox5.Name = "textBox5"; 
			this.textBox5.Size = new System.Drawing.Size(136, 21); 
			this.textBox5.TabIndex = 11; 
			this.textBox5.Text = ""; 
			//  
			// label5 
			//  
			this.label5.AutoSize = true; 
			this.label5.Location = new System.Drawing.Point(278, 244); 
			this.label5.Name = "label5"; 
			this.label5.Size = new System.Drawing.Size(48, 17); 
			this.label5.TabIndex = 10; 
			this.label5.Text = "地   址"; 
			this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 
			//  
			// textBox6 
			//  
			this.textBox6.Location = new System.Drawing.Point(72, 242); 
			this.textBox6.Name = "textBox6"; 
			this.textBox6.Size = new System.Drawing.Size(136, 21); 
			this.textBox6.TabIndex = 13; 
			this.textBox6.Text = ""; 
			//  
			// label6 
			//  
			this.label6.AutoSize = true; 
			this.label6.Location = new System.Drawing.Point(19, 244); 
			this.label6.Name = "label6"; 
			this.label6.Size = new System.Drawing.Size(48, 17); 
			this.label6.TabIndex = 12; 
			this.label6.Text = "电   话"; 
			this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 
			//  
			// textBox7 
			//  
			this.textBox7.Location = new System.Drawing.Point(336, 204); 
			this.textBox7.Name = "textBox7"; 
			this.textBox7.Size = new System.Drawing.Size(136, 21); 
			this.textBox7.TabIndex = 15; 
			this.textBox7.Text = ""; 
			//  
			// label7 
			//  
			this.label7.AutoSize = true; 
			this.label7.Location = new System.Drawing.Point(272, 206); 
			this.label7.Name = "label7"; 
			this.label7.Size = new System.Drawing.Size(54, 17); 
			this.label7.TabIndex = 14; 
			this.label7.Text = "员工状态"; 
			//  
			// textBox8 
			//  
			this.textBox8.Location = new System.Drawing.Point(72, 52); 
			this.textBox8.Name = "textBox8"; 
			this.textBox8.Size = new System.Drawing.Size(136, 21); 
			this.textBox8.TabIndex = 17; 
			this.textBox8.Text = ""; 
			//  
			// label8 
			//  
			this.label8.AutoSize = true; 
			this.label8.Location = new System.Drawing.Point(13, 54); 
			this.label8.Name = "label8"; 
			this.label8.Size = new System.Drawing.Size(54, 17); 
			this.label8.TabIndex = 16; 
			this.label8.Text = "员工姓名"; 
			//  
			// textBox9 
			//  
			this.textBox9.Location = new System.Drawing.Point(72, 204); 
			this.textBox9.Name = "textBox9"; 
			this.textBox9.Size = new System.Drawing.Size(136, 21); 
			this.textBox9.TabIndex = 19; 
			this.textBox9.Text = ""; 
			//  
			// label9 
			//  
			this.label9.AutoSize = true; 
			this.label9.Location = new System.Drawing.Point(13, 206); 
			this.label9.Name = "label9"; 
			this.label9.Size = new System.Drawing.Size(54, 17); 
			this.label9.TabIndex = 18; 
			this.label9.Text = "离职时间"; 
			//  
			// textBox10 
			//  
			this.textBox10.Location = new System.Drawing.Point(336, 52); 
			this.textBox10.Name = "textBox10"; 
			this.textBox10.Size = new System.Drawing.Size(136, 21); 
			this.textBox10.TabIndex = 21; 
			this.textBox10.Text = ""; 
			//  
			// label10 
			//  
			this.label10.AutoSize = true; 
			this.label10.Location = new System.Drawing.Point(272, 54); 
			this.label10.Name = "label10"; 
			this.label10.Size = new System.Drawing.Size(54, 17); 
			this.label10.TabIndex = 20; 
			this.label10.Text = "员工密码"; 
			//  
			// textBox11 
			//  
			this.textBox11.Location = new System.Drawing.Point(336, 166); 
			this.textBox11.Name = "textBox11"; 
			this.textBox11.Size = new System.Drawing.Size(136, 21); 
			this.textBox11.TabIndex = 23; 
			this.textBox11.Text = ""; 
			//  
			// label11 
			//  
			this.label11.AutoSize = true; 
			this.label11.Location = new System.Drawing.Point(272, 168); 
			this.label11.Name = "label11"; 
			this.label11.Size = new System.Drawing.Size(54, 17); 
			this.label11.TabIndex = 22; 
			this.label11.Text = "入职时间"; 
			//  
			// textBox12 
			//  
			this.textBox12.Location = new System.Drawing.Point(336, 88); 
			this.textBox12.Name = "textBox12"; 
			this.textBox12.Size = new System.Drawing.Size(136, 21); 
			this.textBox12.TabIndex = 25; 
			this.textBox12.Text = ""; 
			//  
			// label12 
			//  
			this.label12.AutoSize = true; 
			this.label12.Location = new System.Drawing.Point(272, 96); 
			this.label12.Name = "label12"; 
			this.label12.Size = new System.Drawing.Size(54, 17); 
			this.label12.TabIndex = 24; 
			this.label12.Text = "员工性别"; 
			//  
			// textBox13 
			//  
			this.textBox13.Location = new System.Drawing.Point(336, 128); 
			this.textBox13.Name = "textBox13"; 
			this.textBox13.Size = new System.Drawing.Size(136, 21); 
			this.textBox13.TabIndex = 27; 
			this.textBox13.Text = ""; 
			//  
			// label13 
			//  
			this.label13.AutoSize = true; 
			this.label13.Location = new System.Drawing.Point(278, 130); 
			this.label13.Name = "label13"; 
			this.label13.Size = new System.Drawing.Size(48, 17); 
			this.label13.TabIndex = 26; 
			this.label13.Text = "部   门"; 
			this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; 
			//  
			// frmAddEmployees 
			//  
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); 
			this.ClientSize = new System.Drawing.Size(542, 573); 
			this.Controls.Add(this.dataGrid1); 
			this.Controls.Add(this.panel1); 
			this.MaximizeBox = false; 
			this.Name = "frmAddEmployees"; 
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 
			this.Text = "添加员工"; 
			this.panel1.ResumeLayout(false); 
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); 
			this.ResumeLayout(false); 
 
		} 
		#endregion 
	} 
}