📄 frmdetailsviewtest.designer.cs
字号:
// contactIDTextBox
//
this.contactIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "ContactID", true));
this.contactIDTextBox.Location = new System.Drawing.Point(123, 95);
this.contactIDTextBox.Name = "contactIDTextBox";
this.contactIDTextBox.Size = new System.Drawing.Size(200, 20);
this.contactIDTextBox.TabIndex = 6;
//
// loginIDTextBox
//
this.loginIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "LoginID", true));
this.loginIDTextBox.Location = new System.Drawing.Point(123, 121);
this.loginIDTextBox.Name = "loginIDTextBox";
this.loginIDTextBox.Size = new System.Drawing.Size(200, 20);
this.loginIDTextBox.TabIndex = 8;
//
// managerIDTextBox
//
this.managerIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "ManagerID", true));
this.managerIDTextBox.Location = new System.Drawing.Point(123, 147);
this.managerIDTextBox.Name = "managerIDTextBox";
this.managerIDTextBox.Size = new System.Drawing.Size(200, 20);
this.managerIDTextBox.TabIndex = 10;
//
// titleTextBox
//
this.titleTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "Title", true));
this.titleTextBox.Location = new System.Drawing.Point(123, 173);
this.titleTextBox.Name = "titleTextBox";
this.titleTextBox.Size = new System.Drawing.Size(200, 20);
this.titleTextBox.TabIndex = 12;
//
// birthDateDateTimePicker
//
this.birthDateDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.employeeBindingSource, "BirthDate", true));
this.birthDateDateTimePicker.Location = new System.Drawing.Point(123, 199);
this.birthDateDateTimePicker.Name = "birthDateDateTimePicker";
this.birthDateDateTimePicker.Size = new System.Drawing.Size(200, 20);
this.birthDateDateTimePicker.TabIndex = 14;
//
// maritalStatusTextBox
//
this.maritalStatusTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "MaritalStatus", true));
this.maritalStatusTextBox.Location = new System.Drawing.Point(123, 225);
this.maritalStatusTextBox.Name = "maritalStatusTextBox";
this.maritalStatusTextBox.Size = new System.Drawing.Size(200, 20);
this.maritalStatusTextBox.TabIndex = 16;
//
// genderTextBox
//
this.genderTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "Gender", true));
this.genderTextBox.Location = new System.Drawing.Point(123, 251);
this.genderTextBox.Name = "genderTextBox";
this.genderTextBox.Size = new System.Drawing.Size(200, 20);
this.genderTextBox.TabIndex = 18;
//
// hireDateDateTimePicker
//
this.hireDateDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.employeeBindingSource, "HireDate", true));
this.hireDateDateTimePicker.Location = new System.Drawing.Point(123, 277);
this.hireDateDateTimePicker.Name = "hireDateDateTimePicker";
this.hireDateDateTimePicker.Size = new System.Drawing.Size(200, 20);
this.hireDateDateTimePicker.TabIndex = 20;
//
// salariedFlagCheckBox
//
this.salariedFlagCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.employeeBindingSource, "SalariedFlag", true));
this.salariedFlagCheckBox.Location = new System.Drawing.Point(123, 303);
this.salariedFlagCheckBox.Name = "salariedFlagCheckBox";
this.salariedFlagCheckBox.Size = new System.Drawing.Size(200, 24);
this.salariedFlagCheckBox.TabIndex = 22;
//
// vacationHoursTextBox
//
this.vacationHoursTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "VacationHours", true));
this.vacationHoursTextBox.Location = new System.Drawing.Point(123, 333);
this.vacationHoursTextBox.Name = "vacationHoursTextBox";
this.vacationHoursTextBox.Size = new System.Drawing.Size(200, 20);
this.vacationHoursTextBox.TabIndex = 24;
//
// sickLeaveHoursTextBox
//
this.sickLeaveHoursTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "SickLeaveHours", true));
this.sickLeaveHoursTextBox.Location = new System.Drawing.Point(123, 359);
this.sickLeaveHoursTextBox.Name = "sickLeaveHoursTextBox";
this.sickLeaveHoursTextBox.Size = new System.Drawing.Size(200, 20);
this.sickLeaveHoursTextBox.TabIndex = 26;
//
// currentFlagCheckBox
//
this.currentFlagCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.employeeBindingSource, "CurrentFlag", true));
this.currentFlagCheckBox.Location = new System.Drawing.Point(123, 385);
this.currentFlagCheckBox.Name = "currentFlagCheckBox";
this.currentFlagCheckBox.Size = new System.Drawing.Size(200, 24);
this.currentFlagCheckBox.TabIndex = 28;
//
// rowguidTextBox
//
this.rowguidTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "rowguid", true));
this.rowguidTextBox.Location = new System.Drawing.Point(123, 415);
this.rowguidTextBox.Name = "rowguidTextBox";
this.rowguidTextBox.Size = new System.Drawing.Size(200, 20);
this.rowguidTextBox.TabIndex = 30;
//
// modifiedDateDateTimePicker
//
this.modifiedDateDateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.employeeBindingSource, "ModifiedDate", true));
this.modifiedDateDateTimePicker.Location = new System.Drawing.Point(123, 441);
this.modifiedDateDateTimePicker.Name = "modifiedDateDateTimePicker";
this.modifiedDateDateTimePicker.Size = new System.Drawing.Size(200, 20);
this.modifiedDateDateTimePicker.TabIndex = 32;
//
// frmDetailsViewTest
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(343, 481);
this.Controls.Add(employeeIDLabel);
this.Controls.Add(this.employeeIDTextBox);
this.Controls.Add(nationalIDNumberLabel);
this.Controls.Add(this.nationalIDNumberTextBox);
this.Controls.Add(contactIDLabel);
this.Controls.Add(this.contactIDTextBox);
this.Controls.Add(loginIDLabel);
this.Controls.Add(this.loginIDTextBox);
this.Controls.Add(managerIDLabel);
this.Controls.Add(this.managerIDTextBox);
this.Controls.Add(titleLabel);
this.Controls.Add(this.titleTextBox);
this.Controls.Add(birthDateLabel);
this.Controls.Add(this.birthDateDateTimePicker);
this.Controls.Add(maritalStatusLabel);
this.Controls.Add(this.maritalStatusTextBox);
this.Controls.Add(genderLabel);
this.Controls.Add(this.genderTextBox);
this.Controls.Add(hireDateLabel);
this.Controls.Add(this.hireDateDateTimePicker);
this.Controls.Add(salariedFlagLabel);
this.Controls.Add(this.salariedFlagCheckBox);
this.Controls.Add(vacationHoursLabel);
this.Controls.Add(this.vacationHoursTextBox);
this.Controls.Add(sickLeaveHoursLabel);
this.Controls.Add(this.sickLeaveHoursTextBox);
this.Controls.Add(currentFlagLabel);
this.Controls.Add(this.currentFlagCheckBox);
this.Controls.Add(rowguidLabel);
this.Controls.Add(this.rowguidTextBox);
this.Controls.Add(modifiedDateLabel);
this.Controls.Add(this.modifiedDateDateTimePicker);
this.Controls.Add(this.employeeBindingNavigator);
this.Name = "frmDetailsViewTest";
this.Text = "Details View Demo";
this.Load += new System.EventHandler(this.DetailsViewTest_Load);
((System.ComponentModel.ISupportInitialize)(this.adventureWorks)).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 AdventureWorks adventureWorks;
private System.Windows.Forms.BindingSource employeeBindingSource;
private Chapter08.AdventureWorksTableAdapters.EmployeeTableAdapter employeeTableAdapter;
private System.Windows.Forms.BindingNavigator employeeBindingNavigator;
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
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.ToolStripButton employeeBindingNavigatorSaveItem;
private System.Windows.Forms.TextBox employeeIDTextBox;
private System.Windows.Forms.TextBox nationalIDNumberTextBox;
private System.Windows.Forms.TextBox contactIDTextBox;
private System.Windows.Forms.TextBox loginIDTextBox;
private System.Windows.Forms.TextBox managerIDTextBox;
private System.Windows.Forms.TextBox titleTextBox;
private System.Windows.Forms.DateTimePicker birthDateDateTimePicker;
private System.Windows.Forms.TextBox maritalStatusTextBox;
private System.Windows.Forms.TextBox genderTextBox;
private System.Windows.Forms.DateTimePicker hireDateDateTimePicker;
private System.Windows.Forms.CheckBox salariedFlagCheckBox;
private System.Windows.Forms.TextBox vacationHoursTextBox;
private System.Windows.Forms.TextBox sickLeaveHoursTextBox;
private System.Windows.Forms.CheckBox currentFlagCheckBox;
private System.Windows.Forms.TextBox rowguidTextBox;
private System.Windows.Forms.DateTimePicker modifiedDateDateTimePicker;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -