📄 employeeinfo.designer.cs
字号:
//
this.labName.AutoSize = true;
this.labName.Location = new System.Drawing.Point(8, 32);
this.labName.Name = "labName";
this.labName.Size = new System.Drawing.Size(59, 12);
this.labName.TabIndex = 0;
this.labName.Text = "员工姓名:";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.dgvUserInfo);
this.groupBox2.Location = new System.Drawing.Point(16, 168);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(652, 232);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "员工信息显示";
//
// dgvUserInfo
//
this.dgvUserInfo.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvUserInfo.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvUserInfo.Location = new System.Drawing.Point(3, 17);
this.dgvUserInfo.Name = "dgvUserInfo";
this.dgvUserInfo.ReadOnly = true;
this.dgvUserInfo.RowTemplate.Height = 20;
this.dgvUserInfo.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvUserInfo.Size = new System.Drawing.Size(646, 212);
this.dgvUserInfo.TabIndex = 0;
this.dgvUserInfo.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvUserInfo_CellClick);
//
// toolSave
//
this.toolSave.Enabled = false;
this.toolSave.Image = ((System.Drawing.Image)(resources.GetObject("toolSave.Image")));
this.toolSave.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolSave.Name = "toolSave";
this.toolSave.Size = new System.Drawing.Size(49, 22);
this.toolSave.Tag = "1";
this.toolSave.Text = "保存";
this.toolSave.Click += new System.EventHandler(this.toolSave_Click);
//
// toolCancel
//
this.toolCancel.Enabled = false;
this.toolCancel.Image = ((System.Drawing.Image)(resources.GetObject("toolCancel.Image")));
this.toolCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolCancel.Name = "toolCancel";
this.toolCancel.Size = new System.Drawing.Size(49, 22);
this.toolCancel.Tag = "2";
this.toolCancel.Text = "取消";
this.toolCancel.Click += new System.EventHandler(this.toolCancel_Click);
//
// toolAdd
//
this.toolAdd.Image = ((System.Drawing.Image)(resources.GetObject("toolAdd.Image")));
this.toolAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolAdd.Name = "toolAdd";
this.toolAdd.Size = new System.Drawing.Size(49, 22);
this.toolAdd.Tag = "3";
this.toolAdd.Text = "添加";
this.toolAdd.Click += new System.EventHandler(this.toolAdd_Click);
//
// toolAmend
//
this.toolAmend.Image = ((System.Drawing.Image)(resources.GetObject("toolAmend.Image")));
this.toolAmend.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolAmend.Name = "toolAmend";
this.toolAmend.Size = new System.Drawing.Size(49, 22);
this.toolAmend.Tag = "4";
this.toolAmend.Text = "修改";
this.toolAmend.Click += new System.EventHandler(this.toolAmend_Click);
//
// toolDelete
//
this.toolDelete.Image = ((System.Drawing.Image)(resources.GetObject("toolDelete.Image")));
this.toolDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolDelete.Name = "toolDelete";
this.toolDelete.Size = new System.Drawing.Size(49, 22);
this.toolDelete.Tag = "5";
this.toolDelete.Text = "删除";
this.toolDelete.Click += new System.EventHandler(this.toolDelete_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// labCondation
//
this.labCondation.Name = "labCondation";
this.labCondation.Size = new System.Drawing.Size(59, 22);
this.labCondation.Text = "查询条件:";
//
// cbxCondition
//
this.cbxCondition.Items.AddRange(new object[] {
"员工姓名",
"员工性别",
"所属部门",
"员工职位"});
this.cbxCondition.Name = "cbxCondition";
this.cbxCondition.Size = new System.Drawing.Size(75, 25);
//
// txtKeyWord
//
this.txtKeyWord.Name = "txtKeyWord";
this.txtKeyWord.Size = new System.Drawing.Size(100, 25);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
//
// txtOK
//
this.txtOK.Image = ((System.Drawing.Image)(resources.GetObject("txtOK.Image")));
this.txtOK.ImageTransparentColor = System.Drawing.Color.Magenta;
this.txtOK.Name = "txtOK";
this.txtOK.Size = new System.Drawing.Size(49, 22);
this.txtOK.Tag = "6";
this.txtOK.Text = "查找";
this.txtOK.Click += new System.EventHandler(this.txtOK_Click);
//
// labK
//
this.labK.Name = "labK";
this.labK.Size = new System.Drawing.Size(29, 22);
this.labK.Text = " ";
//
// toolExit
//
this.toolExit.Image = ((System.Drawing.Image)(resources.GetObject("toolExit.Image")));
this.toolExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolExit.Name = "toolExit";
this.toolExit.Size = new System.Drawing.Size(49, 22);
this.toolExit.Tag = "7";
this.toolExit.Text = "退出";
this.toolExit.Click += new System.EventHandler(this.toolExit_Click);
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolSave,
this.toolCancel,
this.toolAdd,
this.toolAmend,
this.toolDelete,
this.toolrefesh,
this.toolStripSeparator1,
this.labCondation,
this.cbxCondition,
this.txtKeyWord,
this.toolStripSeparator2,
this.txtOK,
this.labK,
this.toolExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(689, 25);
this.toolStrip1.TabIndex = 2;
this.toolStrip1.Text = "toolStrip1";
//
// toolrefesh
//
this.toolrefesh.Image = ((System.Drawing.Image)(resources.GetObject("toolrefesh.Image")));
this.toolrefesh.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolrefesh.Name = "toolrefesh";
this.toolrefesh.Size = new System.Drawing.Size(49, 22);
this.toolrefesh.Text = "刷新";
this.toolrefesh.Click += new System.EventHandler(this.toolrefesh_Click);
//
// EmployeeInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(689, 418);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "EmployeeInfo";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "员工信息";
this.Load += new System.EventHandler(this.EmployeeInfo_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvUserInfo)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label labSex;
private System.Windows.Forms.ComboBox cbxSex;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Label labName;
private System.Windows.Forms.DateTimePicker dtBirthday;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox cbxDepartment;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtAddress;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtPhoneM;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtPhoneH;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.ComboBox cbxPost;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.DataGridView dgvUserInfo;
private System.Windows.Forms.ToolStripButton toolSave;
private System.Windows.Forms.ToolStripButton toolCancel;
private System.Windows.Forms.ToolStripButton toolAdd;
private System.Windows.Forms.ToolStripButton toolAmend;
private System.Windows.Forms.ToolStripButton toolDelete;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripLabel labCondation;
private System.Windows.Forms.ToolStripComboBox cbxCondition;
private System.Windows.Forms.ToolStripTextBox txtKeyWord;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton txtOK;
private System.Windows.Forms.ToolStripLabel labK;
private System.Windows.Forms.ToolStripButton toolExit;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolrefesh;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -