📄 dataform.designer.cs
字号:
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.Text = "Move last";
//
// bindingNavigatorSeparator2
//
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
//
// 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.Text = "Save Data";
this.bindingNavigatorSaveItem.Click += new System.EventHandler(this.bindingNavigatorSaveItem_Click);
//
// supplierIDLabel1
//
this.supplierIDLabel1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "SupplierID", true));
this.supplierIDLabel1.Location = new System.Drawing.Point(100, 38);
this.supplierIDLabel1.Name = "supplierIDLabel1";
this.supplierIDLabel1.Size = new System.Drawing.Size(100, 23);
this.supplierIDLabel1.TabIndex = 2;
//
// companyNameTextBox
//
this.companyNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "CompanyName", true));
this.companyNameTextBox.Location = new System.Drawing.Point(100, 65);
this.companyNameTextBox.Name = "companyNameTextBox";
this.companyNameTextBox.Size = new System.Drawing.Size(100, 20);
this.companyNameTextBox.TabIndex = 4;
//
// contactNameTextBox
//
this.contactNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "ContactName", true));
this.contactNameTextBox.Location = new System.Drawing.Point(100, 92);
this.contactNameTextBox.Name = "contactNameTextBox";
this.contactNameTextBox.Size = new System.Drawing.Size(100, 20);
this.contactNameTextBox.TabIndex = 6;
//
// contactTitleTextBox
//
this.contactTitleTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "ContactTitle", true));
this.contactTitleTextBox.Location = new System.Drawing.Point(100, 119);
this.contactTitleTextBox.Name = "contactTitleTextBox";
this.contactTitleTextBox.Size = new System.Drawing.Size(100, 20);
this.contactTitleTextBox.TabIndex = 8;
//
// addressTextBox
//
this.addressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "Address", true));
this.addressTextBox.Location = new System.Drawing.Point(100, 146);
this.addressTextBox.Name = "addressTextBox";
this.addressTextBox.Size = new System.Drawing.Size(100, 20);
this.addressTextBox.TabIndex = 10;
//
// cityTextBox
//
this.cityTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "City", true));
this.cityTextBox.Location = new System.Drawing.Point(100, 173);
this.cityTextBox.Name = "cityTextBox";
this.cityTextBox.Size = new System.Drawing.Size(100, 20);
this.cityTextBox.TabIndex = 12;
//
// regionTextBox
//
this.regionTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "Region", true));
this.regionTextBox.Location = new System.Drawing.Point(100, 200);
this.regionTextBox.Name = "regionTextBox";
this.regionTextBox.Size = new System.Drawing.Size(100, 20);
this.regionTextBox.TabIndex = 14;
//
// postalCodeTextBox
//
this.postalCodeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "PostalCode", true));
this.postalCodeTextBox.Location = new System.Drawing.Point(100, 227);
this.postalCodeTextBox.Name = "postalCodeTextBox";
this.postalCodeTextBox.Size = new System.Drawing.Size(100, 20);
this.postalCodeTextBox.TabIndex = 16;
//
// countryTextBox
//
this.countryTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "Country", true));
this.countryTextBox.Location = new System.Drawing.Point(100, 254);
this.countryTextBox.Name = "countryTextBox";
this.countryTextBox.Size = new System.Drawing.Size(100, 20);
this.countryTextBox.TabIndex = 18;
//
// phoneTextBox
//
this.phoneTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "Phone", true));
this.phoneTextBox.Location = new System.Drawing.Point(100, 281);
this.phoneTextBox.Name = "phoneTextBox";
this.phoneTextBox.Size = new System.Drawing.Size(100, 20);
this.phoneTextBox.TabIndex = 20;
//
// faxTextBox
//
this.faxTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "Fax", true));
this.faxTextBox.Location = new System.Drawing.Point(100, 308);
this.faxTextBox.Name = "faxTextBox";
this.faxTextBox.Size = new System.Drawing.Size(100, 20);
this.faxTextBox.TabIndex = 22;
//
// homePageTextBox
//
this.homePageTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.suppliersBindingSource, "HomePage", true));
this.homePageTextBox.Location = new System.Drawing.Point(100, 335);
this.homePageTextBox.Name = "homePageTextBox";
this.homePageTextBox.Size = new System.Drawing.Size(100, 20);
this.homePageTextBox.TabIndex = 24;
//
// productsBindingSource
//
this.productsBindingSource.DataMember = "FK_Products_Suppliers";
this.productsBindingSource.DataSource = this.suppliersBindingSource;
//
// productsTableAdapter
//
this.productsTableAdapter.ClearBeforeFill = true;
//
// productsDataGridView
//
this.productsDataGridView.AllowUserToAddRows = false;
this.productsDataGridView.AllowUserToDeleteRows = false;
this.productsDataGridView.AutoGenerateColumns = false;
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn1);
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn2);
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn3);
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn4);
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn5);
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn6);
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn7);
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn8);
this.productsDataGridView.Columns.Add(this.dataGridViewTextBoxColumn9);
this.productsDataGridView.Columns.Add(this.dataGridViewCheckBoxColumn1);
this.productsDataGridView.DataSource = this.productsBindingSource;
this.productsDataGridView.Location = new System.Drawing.Point(222, 38);
this.productsDataGridView.Name = "productsDataGridView";
this.productsDataGridView.ReadOnly = true;
this.productsDataGridView.Size = new System.Drawing.Size(558, 366);
this.productsDataGridView.TabIndex = 25;
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "ProductID";
this.dataGridViewTextBoxColumn1.HeaderText = "ProductID";
this.dataGridViewTextBoxColumn1.Name = "ProductID";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "ProductName";
this.dataGridViewTextBoxColumn2.HeaderText = "ProductName";
this.dataGridViewTextBoxColumn2.Name = "ProductName";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.DataPropertyName = "SupplierID";
this.dataGridViewTextBoxColumn3.HeaderText = "SupplierID";
this.dataGridViewTextBoxColumn3.Name = "SupplierID";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "CategoryID";
this.dataGridViewTextBoxColumn4.HeaderText = "CategoryID";
this.dataGridViewTextBoxColumn4.Name = "CategoryID";
this.dataGridViewTextBoxColumn4.ReadOnly = true;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "QuantityPerUnit";
this.dataGridViewTextBoxColumn5.HeaderText = "QuantityPerUnit";
this.dataGridViewTextBoxColumn5.Name = "QuantityPerUnit";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "UnitPrice";
this.dataGridViewTextBoxColumn6.HeaderText = "UnitPrice";
this.dataGridViewTextBoxColumn6.Name = "UnitPrice";
this.dataGridViewTextBoxColumn6.ReadOnly = true;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.DataPropertyName = "UnitsInStock";
this.dataGridViewTextBoxColumn7.HeaderText = "UnitsInStock";
this.dataGridViewTextBoxColumn7.Name = "UnitsInStock";
this.dataGridViewTextBoxColumn7.ReadOnly = true;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "UnitsOnOrder";
this.dataGridViewTextBoxColumn8.HeaderText = "UnitsOnOrder";
this.dataGridViewTextBoxColumn8.Name = "UnitsOnOrder";
this.dataGridViewTextBoxColumn8.ReadOnly = true;
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.DataPropertyName = "ReorderLevel";
this.dataGridViewTextBoxColumn9.HeaderText = "ReorderLevel";
this.dataGridViewTextBoxColumn9.Name = "ReorderLevel";
this.dataGridViewTextBoxColumn9.ReadOnly = true;
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.DataPropertyName = "Discontinued";
this.dataGridViewCheckBoxColumn1.HeaderText = "Discontinued";
this.dataGridViewCheckBoxColumn1.Name = "Discontinued";
this.dataGridViewCheckBoxColumn1.ReadOnly = true;
//
// DataForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(792, 416);
this.Controls.Add(this.productsDataGridView);
this.Controls.Add(supplierIDLabel);
this.Controls.Add(this.supplierIDLabel1);
this.Controls.Add(companyNameLabel);
this.Controls.Add(this.companyNameTextBox);
this.Controls.Add(contactNameLabel);
this.Controls.Add(this.contactNameTextBox);
this.Controls.Add(contactTitleLabel);
this.Controls.Add(this.contactTitleTextBox);
this.Controls.Add(addressLabel);
this.Controls.Add(this.addressTextBox);
this.Controls.Add(cityLabel);
this.Controls.Add(this.cityTextBox);
this.Controls.Add(regionLabel);
this.Controls.Add(this.regionTextBox);
this.Controls.Add(postalCodeLabel);
this.Controls.Add(this.postalCodeTextBox);
this.Controls.Add(countryLabel);
this.Controls.Add(this.countryTextBox);
this.Controls.Add(phoneLabel);
this.Controls.Add(this.phoneTextBox);
this.Controls.Add(faxLabel);
this.Controls.Add(this.faxTextBox);
this.Controls.Add(homePageLabel);
this.Controls.Add(this.homePageTextBox);
this.Controls.Add(this.suppliersBindingNavigator);
this.Name = "DataForm";
this.Text = "Suppliers and Products";
this.Load += new System.EventHandler(this.DataForm_Load);
((System.ComponentModel.ISupportInitialize)(this.northwindDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.suppliersBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.suppliersBindingNavigator)).EndInit();
this.suppliersBindingNavigator.ResumeLayout(false);
this.suppliersBindingNavigator.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.productsBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.productsDataGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private NorthwindDataSet northwindDataSet;
private System.Windows.Forms.BindingSource suppliersBindingSource;
private DisplayProducts.NorthwindDataSetTableAdapters.SuppliersTableAdapter suppliersTableAdapter;
private System.Windows.Forms.BindingNavigator suppliersBindingNavigator;
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.Label supplierIDLabel1;
private System.Windows.Forms.TextBox companyNameTextBox;
private System.Windows.Forms.TextBox contactNameTextBox;
private System.Windows.Forms.TextBox contactTitleTextBox;
private System.Windows.Forms.TextBox addressTextBox;
private System.Windows.Forms.TextBox cityTextBox;
private System.Windows.Forms.TextBox regionTextBox;
private System.Windows.Forms.TextBox postalCodeTextBox;
private System.Windows.Forms.TextBox countryTextBox;
private System.Windows.Forms.TextBox phoneTextBox;
private System.Windows.Forms.TextBox faxTextBox;
private System.Windows.Forms.TextBox homePageTextBox;
private System.Windows.Forms.BindingSource productsBindingSource;
private DisplayProducts.NorthwindDataSetTableAdapters.ProductsTableAdapter productsTableAdapter;
private System.Windows.Forms.DataGridView productsDataGridView;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -