📄 producteditviewdialog.designer.cs
字号:
namespace MobileDevelopersHandbook
{
partial class ProductEditViewDialog
{
public static ProductEditViewDialog Instance(
System.Windows.Forms.BindingSource bindingSource)
{
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor;
if ((defaultInstance == null))
{
defaultInstance = new MobileDevelopersHandbook.ProductEditViewDialog();
defaultInstance.productBindingSource.DataSource = bindingSource;
}
defaultInstance.nameTextBox.Focus();
defaultInstance.AutoScrollPosition = new System.Drawing.Point(0, 0);
defaultInstance.productBindingSource.Position = bindingSource.Position;
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default;
return defaultInstance;
}
private static ProductEditViewDialog defaultInstance;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.MainMenu mainMenu1;
/// <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();
this.nameLabel = new System.Windows.Forms.Label();
this.colorLabel = new System.Windows.Forms.Label();
this.listPriceLabel = new System.Windows.Forms.Label();
this.sizeLabel = new System.Windows.Forms.Label();
this.productCategoryIDLabel = new System.Windows.Forms.Label();
this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.menuItem2 = new System.Windows.Forms.MenuItem();
this.productBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.productsDataSet = new MobileDevelopersHandbook.ProductsDataSet();
this.nameTextBox = new System.Windows.Forms.TextBox();
this.colorTextBox = new System.Windows.Forms.TextBox();
this.listPriceTextBox = new System.Windows.Forms.TextBox();
this.sizeTextBox = new System.Windows.Forms.TextBox();
this.topBorderPanel = new System.Windows.Forms.Panel();
this.leftBorderPanel = new System.Windows.Forms.Panel();
this.rightBorderPanel = new System.Windows.Forms.Panel();
this.productCategoryBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// nameLabel
//
this.nameLabel.Dock = System.Windows.Forms.DockStyle.Top;
this.nameLabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.nameLabel.Location = new System.Drawing.Point(4, 2);
this.nameLabel.Name = "nameLabel";
this.nameLabel.Size = new System.Drawing.Size(217, 21);
this.nameLabel.Text = "Name:";
//
// colorLabel
//
this.colorLabel.Dock = System.Windows.Forms.DockStyle.Top;
this.colorLabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.colorLabel.Location = new System.Drawing.Point(4, 44);
this.colorLabel.Name = "colorLabel";
this.colorLabel.Size = new System.Drawing.Size(217, 21);
this.colorLabel.Text = "Color:";
//
// listPriceLabel
//
this.listPriceLabel.Dock = System.Windows.Forms.DockStyle.Top;
this.listPriceLabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.listPriceLabel.Location = new System.Drawing.Point(4, 86);
this.listPriceLabel.Name = "listPriceLabel";
this.listPriceLabel.Size = new System.Drawing.Size(217, 21);
this.listPriceLabel.Text = "List Price:";
//
// sizeLabel
//
this.sizeLabel.Dock = System.Windows.Forms.DockStyle.Top;
this.sizeLabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.sizeLabel.Location = new System.Drawing.Point(4, 128);
this.sizeLabel.Name = "sizeLabel";
this.sizeLabel.Size = new System.Drawing.Size(217, 21);
this.sizeLabel.Text = "Size:";
//
// productCategoryIDLabel
//
this.productCategoryIDLabel.Dock = System.Windows.Forms.DockStyle.Top;
this.productCategoryIDLabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.productCategoryIDLabel.Location = new System.Drawing.Point(4, 170);
this.productCategoryIDLabel.Name = "productCategoryIDLabel";
this.productCategoryIDLabel.Size = new System.Drawing.Size(217, 21);
this.productCategoryIDLabel.Text = "Product Category:";
//
// mainMenu1
//
this.mainMenu1.MenuItems.Add(this.menuItem1);
this.mainMenu1.MenuItems.Add(this.menuItem2);
//
// menuItem1
//
this.menuItem1.Text = " ";
//
// menuItem2
//
this.menuItem2.Text = "Cancel";
this.menuItem2.Click += new System.EventHandler(this.cancelMenuItem_Click);
//
// productBindingSource
//
this.productBindingSource.DataMember = "Product";
this.productBindingSource.DataSource = this.productsDataSet;
//
// productsDataSet
//
this.productsDataSet.DataSetName = "ProductsDataSet";
this.productsDataSet.Prefix = "";
this.productsDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// nameTextBox
//
this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "Name", true));
this.nameTextBox.Dock = System.Windows.Forms.DockStyle.Top;
this.nameTextBox.Location = new System.Drawing.Point(4, 23);
this.nameTextBox.MaxLength = 50;
this.nameTextBox.Name = "nameTextBox";
this.nameTextBox.Size = new System.Drawing.Size(217, 21);
this.nameTextBox.TabIndex = 1;
//
// colorTextBox
//
this.colorTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "Color", true));
this.colorTextBox.Dock = System.Windows.Forms.DockStyle.Top;
this.colorTextBox.Location = new System.Drawing.Point(4, 65);
this.colorTextBox.MaxLength = 15;
this.colorTextBox.Name = "colorTextBox";
this.colorTextBox.Size = new System.Drawing.Size(217, 21);
this.colorTextBox.TabIndex = 3;
//
// listPriceTextBox
//
this.listPriceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "ListPrice", true));
this.listPriceTextBox.Dock = System.Windows.Forms.DockStyle.Top;
this.listPriceTextBox.Location = new System.Drawing.Point(4, 107);
this.listPriceTextBox.Name = "listPriceTextBox";
this.listPriceTextBox.Size = new System.Drawing.Size(217, 21);
this.listPriceTextBox.TabIndex = 5;
//
// sizeTextBox
//
this.sizeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "Size", true));
this.sizeTextBox.Dock = System.Windows.Forms.DockStyle.Top;
this.sizeTextBox.Location = new System.Drawing.Point(4, 149);
this.sizeTextBox.MaxLength = 5;
this.sizeTextBox.Name = "sizeTextBox";
this.sizeTextBox.Size = new System.Drawing.Size(217, 21);
this.sizeTextBox.TabIndex = 7;
//
// topBorderPanel
//
this.topBorderPanel.Dock = System.Windows.Forms.DockStyle.Top;
this.topBorderPanel.Location = new System.Drawing.Point(4, 0);
this.topBorderPanel.Name = "topBorderPanel";
this.topBorderPanel.Size = new System.Drawing.Size(217, 2);
//
// leftBorderPanel
//
this.leftBorderPanel.Dock = System.Windows.Forms.DockStyle.Left;
this.leftBorderPanel.Location = new System.Drawing.Point(0, 0);
this.leftBorderPanel.Name = "leftBorderPanel";
this.leftBorderPanel.Size = new System.Drawing.Size(4, 268);
//
// rightBorderPanel
//
this.rightBorderPanel.Dock = System.Windows.Forms.DockStyle.Right;
this.rightBorderPanel.Location = new System.Drawing.Point(221, 0);
this.rightBorderPanel.Name = "rightBorderPanel";
this.rightBorderPanel.Size = new System.Drawing.Size(19, 268);
//
// productCategoryBindingSource
//
this.productCategoryBindingSource.DataSource = typeof(MobileDevelopersHandbook.MyResultSetsResultSets.ProductCategoryResultSet);
//
// comboBox1
//
this.comboBox1.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.productBindingSource, "ProductCategoryID", true));
this.comboBox1.DataSource = this.productCategoryBindingSource;
this.comboBox1.DisplayMember = "Name";
this.comboBox1.Location = new System.Drawing.Point(4, 195);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(167, 22);
this.comboBox1.TabIndex = 18;
this.comboBox1.ValueMember = "ProductCategoryID";
//
// ProductEditViewDialog
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.productCategoryIDLabel);
this.Controls.Add(this.sizeTextBox);
this.Controls.Add(this.sizeLabel);
this.Controls.Add(this.listPriceTextBox);
this.Controls.Add(this.listPriceLabel);
this.Controls.Add(this.colorTextBox);
this.Controls.Add(this.colorLabel);
this.Controls.Add(this.nameTextBox);
this.Controls.Add(this.nameLabel);
this.Controls.Add(this.topBorderPanel);
this.Controls.Add(this.leftBorderPanel);
this.Controls.Add(this.rightBorderPanel);
this.Menu = this.mainMenu1;
this.MinimizeBox = false;
this.Name = "ProductEditViewDialog";
this.Text = "ProductEditViewDialog";
this.Closing += new System.ComponentModel.CancelEventHandler(this.ProductEditViewDialog_Closing);
this.Load += new System.EventHandler(this.ProductEditViewDialog_Load);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.BindingSource productBindingSource;
private System.Windows.Forms.TextBox nameTextBox;
private System.Windows.Forms.TextBox colorTextBox;
private System.Windows.Forms.TextBox listPriceTextBox;
private System.Windows.Forms.TextBox sizeTextBox;
private System.Windows.Forms.Panel topBorderPanel;
private System.Windows.Forms.Panel leftBorderPanel;
private System.Windows.Forms.Panel rightBorderPanel;
private System.Windows.Forms.Label nameLabel;
private System.Windows.Forms.Label colorLabel;
private System.Windows.Forms.Label listPriceLabel;
private System.Windows.Forms.Label sizeLabel;
private System.Windows.Forms.Label productCategoryIDLabel;
private System.Windows.Forms.BindingSource productCategoryBindingSource;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private ProductsDataSet productsDataSet;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -