📄 productseditviewdialog.designer.cs
字号:
namespace MobileDevelopersHandbook.DSAExample
{
partial class ProductsEditViewDialog
{
public static ProductsEditViewDialog Instance(System.Windows.Forms.BindingSource bindingSource)
{
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor;
if ((defaultInstance == null))
{
defaultInstance = new MobileDevelopersHandbook.DSAExample.ProductsEditViewDialog();
defaultInstance.productsBindingSource.DataSource = bindingSource;
}
defaultInstance.productNameTextBox.Focus();
defaultInstance.AutoScrollPosition = new System.Drawing.Point(0, 0);
defaultInstance.productsBindingSource.Position = bindingSource.Position;
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default;
return defaultInstance;
}
private static ProductsEditViewDialog 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.productNameLabel = new System.Windows.Forms.Label();
this.priceLabel = new System.Windows.Forms.Label();
this.descriptionLabel = new System.Windows.Forms.Label();
this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.productsBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.productNameTextBox = new System.Windows.Forms.TextBox();
this.priceTextBox = new System.Windows.Forms.TextBox();
this.descriptionTextBox = 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.SuspendLayout();
//
// productNameLabel
//
this.productNameLabel.Dock = System.Windows.Forms.DockStyle.Top;
this.productNameLabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.productNameLabel.Location = new System.Drawing.Point(4, 2);
this.productNameLabel.Name = "productNameLabel";
this.productNameLabel.Size = new System.Drawing.Size(232, 21);
this.productNameLabel.Text = "Product Name:";
//
// priceLabel
//
this.priceLabel.Dock = System.Windows.Forms.DockStyle.Top;
this.priceLabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.priceLabel.Location = new System.Drawing.Point(4, 44);
this.priceLabel.Name = "priceLabel";
this.priceLabel.Size = new System.Drawing.Size(232, 21);
this.priceLabel.Text = "Price:";
//
// descriptionLabel
//
this.descriptionLabel.Dock = System.Windows.Forms.DockStyle.Top;
this.descriptionLabel.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
this.descriptionLabel.Location = new System.Drawing.Point(4, 86);
this.descriptionLabel.Name = "descriptionLabel";
this.descriptionLabel.Size = new System.Drawing.Size(232, 21);
this.descriptionLabel.Text = "Description:";
//
// productsBindingSource
//
this.productsBindingSource.DataMember = "Products";
this.productsBindingSource.DataSource = typeof(MobileDevelopersHandbook.DSAExample.AppDatabaseDataSet);
//
// productNameTextBox
//
this.productNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productsBindingSource, "ProductName", true));
this.productNameTextBox.Dock = System.Windows.Forms.DockStyle.Top;
this.productNameTextBox.Location = new System.Drawing.Point(4, 23);
this.productNameTextBox.Name = "productNameTextBox";
this.productNameTextBox.Size = new System.Drawing.Size(232, 21);
this.productNameTextBox.TabIndex = 1;
//
// priceTextBox
//
this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productsBindingSource, "Price", true));
this.priceTextBox.Dock = System.Windows.Forms.DockStyle.Top;
this.priceTextBox.Location = new System.Drawing.Point(4, 65);
this.priceTextBox.Name = "priceTextBox";
this.priceTextBox.Size = new System.Drawing.Size(232, 21);
this.priceTextBox.TabIndex = 3;
//
// descriptionTextBox
//
this.descriptionTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productsBindingSource, "Description", true));
this.descriptionTextBox.Dock = System.Windows.Forms.DockStyle.Top;
this.descriptionTextBox.Location = new System.Drawing.Point(4, 107);
this.descriptionTextBox.Multiline = true;
this.descriptionTextBox.Name = "descriptionTextBox";
this.descriptionTextBox.Size = new System.Drawing.Size(232, 124);
this.descriptionTextBox.TabIndex = 5;
//
// 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(232, 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(236, 0);
this.rightBorderPanel.Name = "rightBorderPanel";
this.rightBorderPanel.Size = new System.Drawing.Size(4, 268);
//
// ProductsEditViewDialog
//
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.descriptionTextBox);
this.Controls.Add(this.descriptionLabel);
this.Controls.Add(this.priceTextBox);
this.Controls.Add(this.priceLabel);
this.Controls.Add(this.productNameTextBox);
this.Controls.Add(this.productNameLabel);
this.Controls.Add(this.topBorderPanel);
this.Controls.Add(this.leftBorderPanel);
this.Controls.Add(this.rightBorderPanel);
this.Menu = this.mainMenu1;
this.MinimizeBox = false;
this.Name = "ProductsEditViewDialog";
this.Text = "Edit Products";
this.Closing += new System.ComponentModel.CancelEventHandler(this.ProductsEditViewDialog_Closing);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.BindingSource productsBindingSource;
private System.Windows.Forms.TextBox productNameTextBox;
private System.Windows.Forms.TextBox priceTextBox;
private System.Windows.Forms.TextBox descriptionTextBox;
private System.Windows.Forms.Panel topBorderPanel;
private System.Windows.Forms.Panel leftBorderPanel;
private System.Windows.Forms.Panel rightBorderPanel;
private System.Windows.Forms.Label productNameLabel;
private System.Windows.Forms.Label priceLabel;
private System.Windows.Forms.Label descriptionLabel;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -