📄 form1.designer.cs
字号:
this.编号TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "编号", true));
this.编号TextBox.Location = new System.Drawing.Point(63, 40);
this.编号TextBox.Name = "编号TextBox";
this.编号TextBox.Size = new System.Drawing.Size(121, 25);
this.编号TextBox.TabIndex = 2;
//
// 姓名Label
//
姓名Label.AutoSize = true;
姓名Label.Location = new System.Drawing.Point(12, 74);
姓名Label.Name = "姓名Label";
姓名Label.Size = new System.Drawing.Size(45, 15);
姓名Label.TabIndex = 3;
姓名Label.Text = "姓名:";
//
// 姓名TextBox
//
this.姓名TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "姓名", true));
this.姓名TextBox.Location = new System.Drawing.Point(63, 71);
this.姓名TextBox.Name = "姓名TextBox";
this.姓名TextBox.Size = new System.Drawing.Size(121, 25);
this.姓名TextBox.TabIndex = 4;
//
// 性别Label
//
性别Label.AutoSize = true;
性别Label.Location = new System.Drawing.Point(12, 105);
性别Label.Name = "性别Label";
性别Label.Size = new System.Drawing.Size(45, 15);
性别Label.TabIndex = 5;
性别Label.Text = "性别:";
//
// 性别ComboBox
//
this.性别ComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "性别", true));
this.性别ComboBox.FormattingEnabled = true;
this.性别ComboBox.Items.AddRange(new object[] {
"男",
"女"});
this.性别ComboBox.Location = new System.Drawing.Point(63, 102);
this.性别ComboBox.Name = "性别ComboBox";
this.性别ComboBox.Size = new System.Drawing.Size(121, 23);
this.性别ComboBox.TabIndex = 6;
//
// 年龄Label
//
年龄Label.AutoSize = true;
年龄Label.Location = new System.Drawing.Point(241, 46);
年龄Label.Name = "年龄Label";
年龄Label.Size = new System.Drawing.Size(45, 15);
年龄Label.TabIndex = 7;
年龄Label.Text = "年龄:";
//
// 年龄TextBox
//
this.年龄TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "年龄", true));
this.年龄TextBox.Location = new System.Drawing.Point(292, 43);
this.年龄TextBox.Name = "年龄TextBox";
this.年龄TextBox.Size = new System.Drawing.Size(121, 25);
this.年龄TextBox.TabIndex = 8;
//
// 部门Label
//
部门Label.AutoSize = true;
部门Label.Location = new System.Drawing.Point(241, 77);
部门Label.Name = "部门Label";
部门Label.Size = new System.Drawing.Size(45, 15);
部门Label.TabIndex = 9;
部门Label.Text = "部门:";
//
// 部门TextBox
//
this.部门TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "部门", true));
this.部门TextBox.Location = new System.Drawing.Point(292, 74);
this.部门TextBox.Name = "部门TextBox";
this.部门TextBox.Size = new System.Drawing.Size(121, 25);
this.部门TextBox.TabIndex = 10;
//
// 职务Label
//
职务Label.AutoSize = true;
职务Label.Location = new System.Drawing.Point(241, 108);
职务Label.Name = "职务Label";
职务Label.Size = new System.Drawing.Size(45, 15);
职务Label.TabIndex = 11;
职务Label.Text = "职务:";
//
// 职务TextBox
//
this.职务TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "职务", true));
this.职务TextBox.Location = new System.Drawing.Point(292, 105);
this.职务TextBox.Name = "职务TextBox";
this.职务TextBox.Size = new System.Drawing.Size(121, 25);
this.职务TextBox.TabIndex = 12;
//
// bindingNavigatorMovePreviousItem
//
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "移到上一条记录";
//
// bindingNavigatorMoveFirstItem
//
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "移到第一条记录";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(456, 150);
this.Controls.Add(编号Label);
this.Controls.Add(this.编号TextBox);
this.Controls.Add(姓名Label);
this.Controls.Add(this.姓名TextBox);
this.Controls.Add(性别Label);
this.Controls.Add(this.性别ComboBox);
this.Controls.Add(年龄Label);
this.Controls.Add(this.年龄TextBox);
this.Controls.Add(部门Label);
this.Controls.Add(this.部门TextBox);
this.Controls.Add(职务Label);
this.Controls.Add(this.职务TextBox);
this.Controls.Add(this.employeeBindingNavigator);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.employeeDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.employeeBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.employeeBindingNavigator)).EndInit();
this.employeeBindingNavigator.ResumeLayout(false);
this.employeeBindingNavigator.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private employeeDataSet employeeDataSet;
private System.Windows.Forms.BindingSource employeeBindingSource;
private WindowsApplication3.employeeDataSetTableAdapters.employeeTableAdapter employeeTableAdapter;
private System.Windows.Forms.BindingNavigator employeeBindingNavigator;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
private System.Windows.Forms.TextBox 编号TextBox;
private System.Windows.Forms.TextBox 姓名TextBox;
private System.Windows.Forms.ComboBox 性别ComboBox;
private System.Windows.Forms.TextBox 年龄TextBox;
private System.Windows.Forms.TextBox 部门TextBox;
private System.Windows.Forms.TextBox 职务TextBox;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -