employeesform.designer.cs
来自「中文名:Windows Forms 程序设计 英文名:Windows Form」· CS 代码 · 共 263 行
CS
263 行
namespace MySecondApp {
partial class EmployeesForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) {
if( disposing && (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() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeesForm));
this.northwindDataSet = new MySecondApp.NorthwindDataSet();
this.employeesBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.employeesTableAdapter = new MySecondApp.NorthwindDataSetTableAdapters.EmployeesTableAdapter();
this.employeesBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
this.employeesDataGridView = new System.Windows.Forms.DataGridView();
this.LastName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.FirstName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.BirthDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.employeesBindingNavigator)).BeginInit();
this.employeesBindingNavigator.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.employeesDataGridView)).BeginInit();
this.SuspendLayout();
//
// northwindDataSet
//
this.northwindDataSet.DataSetName = "NorthwindDataSet";
//
// employeesBindingSource
//
this.employeesBindingSource.DataMember = "Employees";
this.employeesBindingSource.DataSource = this.northwindDataSet;
//
// employeesTableAdapter
//
this.employeesTableAdapter.ClearBeforeFill = true;
//
// employeesBindingNavigator
//
this.employeesBindingNavigator.AddNewItem = this.bindingNavigatorAddNewItem;
this.employeesBindingNavigator.BindingSource = this.employeesBindingSource;
this.employeesBindingNavigator.CountItem = this.bindingNavigatorCountItem;
this.employeesBindingNavigator.DeleteItem = this.bindingNavigatorDeleteItem;
this.employeesBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.bindingNavigatorMoveFirstItem,
this.bindingNavigatorMovePreviousItem,
this.bindingNavigatorSeparator,
this.bindingNavigatorPositionItem,
this.bindingNavigatorCountItem,
this.bindingNavigatorSeparator1,
this.bindingNavigatorMoveNextItem,
this.bindingNavigatorMoveLastItem,
this.bindingNavigatorSeparator2,
this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem,
this.bindingNavigatorSaveItem});
this.employeesBindingNavigator.Location = new System.Drawing.Point(0, 0);
this.employeesBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.employeesBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.employeesBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.employeesBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.employeesBindingNavigator.Name = "employeesBindingNavigator";
this.employeesBindingNavigator.PositionItem = this.bindingNavigatorPositionItem;
this.employeesBindingNavigator.Size = new System.Drawing.Size(354, 25);
this.employeesBindingNavigator.TabIndex = 0;
this.employeesBindingNavigator.Text = "bindingNavigator1";
//
// bindingNavigatorAddNewItem
//
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorAddNewItem.Text = "Add new";
//
// bindingNavigatorCountItem
//
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(36, 22);
this.bindingNavigatorCountItem.Text = "of {0}";
this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
//
// bindingNavigatorDeleteItem
//
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorDeleteItem.Text = "Delete";
//
// 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.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "Move first";
//
// 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.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "Move previous";
//
// bindingNavigatorSeparator
//
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 25);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
//
// bindingNavigatorMoveNextItem
//
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "Move next";
//
// bindingNavigatorMoveLastItem
//
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "Move last";
//
// bindingNavigatorSeparator2
//
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
//
// bindingNavigatorSaveItem
//
this.bindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorSaveItem.Image")));
this.bindingNavigatorSaveItem.Name = "bindingNavigatorSaveItem";
this.bindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorSaveItem.Text = "Save Data";
this.bindingNavigatorSaveItem.Click += new System.EventHandler(this.bindingNavigatorSaveItem_Click);
//
// employeesDataGridView
//
this.employeesDataGridView.AutoGenerateColumns = false;
this.employeesDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.LastName,
this.FirstName,
this.BirthDate});
this.employeesDataGridView.DataSource = this.employeesBindingSource;
this.employeesDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
this.employeesDataGridView.Location = new System.Drawing.Point(0, 25);
this.employeesDataGridView.Name = "employeesDataGridView";
this.employeesDataGridView.Size = new System.Drawing.Size(354, 59);
this.employeesDataGridView.TabIndex = 1;
//
// LastName
//
this.LastName.DataPropertyName = "LastName";
this.LastName.HeaderText = "LastName";
this.LastName.Name = "LastName";
//
// FirstName
//
this.FirstName.DataPropertyName = "FirstName";
this.FirstName.HeaderText = "FirstName";
this.FirstName.Name = "FirstName";
//
// BirthDate
//
this.BirthDate.DataPropertyName = "BirthDate";
this.BirthDate.HeaderText = "BirthDate";
this.BirthDate.Name = "BirthDate";
//
// EmployeesForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(354, 84);
this.Controls.Add(this.employeesDataGridView);
this.Controls.Add(this.employeesBindingNavigator);
this.Name = "EmployeesForm";
this.Text = "Employees";
this.Load += new System.EventHandler(this.EmployeesForm_Load);
((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.employeesBindingNavigator)).EndInit();
this.employeesBindingNavigator.ResumeLayout(false);
this.employeesBindingNavigator.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.employeesDataGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
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 bindingNavigatorSaveItem;
private System.Windows.Forms.BindingNavigator employeesBindingNavigator;
private NorthwindDataSet northwindDataSet;
private System.Windows.Forms.BindingSource employeesBindingSource;
private MySecondApp.NorthwindDataSetTableAdapters.EmployeesTableAdapter employeesTableAdapter;
private System.Windows.Forms.DataGridView employeesDataGridView;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn LastName;
private System.Windows.Forms.DataGridViewTextBoxColumn FirstName;
private System.Windows.Forms.DataGridViewTextBoxColumn BirthDate;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?