226 lines
9.9 KiB
C#
226 lines
9.9 KiB
C#
namespace ConfectioneryView
|
|
{
|
|
partial class FormPastry
|
|
{
|
|
/// <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.textBoxName = new System.Windows.Forms.TextBox();
|
|
this.textBoxPrice = new System.Windows.Forms.TextBox();
|
|
this.labelName = new System.Windows.Forms.Label();
|
|
this.labelPrice = new System.Windows.Forms.Label();
|
|
this.groupBoxComponents = new System.Windows.Forms.GroupBox();
|
|
this.buttonRef = new System.Windows.Forms.Button();
|
|
this.buttonDel = new System.Windows.Forms.Button();
|
|
this.buttonUpd = new System.Windows.Forms.Button();
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.NameId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.CoulmnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.groupBoxComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(125, 12);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(289, 23);
|
|
this.textBoxName.TabIndex = 0;
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
this.textBoxPrice.Location = new System.Drawing.Point(125, 58);
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
this.textBoxPrice.Size = new System.Drawing.Size(176, 23);
|
|
this.textBoxPrice.TabIndex = 1;
|
|
//
|
|
// labelName
|
|
//
|
|
this.labelName.AutoSize = true;
|
|
this.labelName.Location = new System.Drawing.Point(42, 15);
|
|
this.labelName.Name = "labelName";
|
|
this.labelName.Size = new System.Drawing.Size(62, 15);
|
|
this.labelName.TabIndex = 2;
|
|
this.labelName.Text = "Название:";
|
|
//
|
|
// labelPrice
|
|
//
|
|
this.labelPrice.AutoSize = true;
|
|
this.labelPrice.Location = new System.Drawing.Point(42, 61);
|
|
this.labelPrice.Name = "labelPrice";
|
|
this.labelPrice.Size = new System.Drawing.Size(70, 15);
|
|
this.labelPrice.TabIndex = 3;
|
|
this.labelPrice.Text = "Стоимость:";
|
|
//
|
|
// groupBoxComponents
|
|
//
|
|
this.groupBoxComponents.Controls.Add(this.buttonRef);
|
|
this.groupBoxComponents.Controls.Add(this.buttonDel);
|
|
this.groupBoxComponents.Controls.Add(this.buttonUpd);
|
|
this.groupBoxComponents.Controls.Add(this.buttonAdd);
|
|
this.groupBoxComponents.Controls.Add(this.dataGridView);
|
|
this.groupBoxComponents.Location = new System.Drawing.Point(42, 106);
|
|
this.groupBoxComponents.Name = "groupBoxComponents";
|
|
this.groupBoxComponents.Size = new System.Drawing.Size(526, 296);
|
|
this.groupBoxComponents.TabIndex = 4;
|
|
this.groupBoxComponents.TabStop = false;
|
|
this.groupBoxComponents.Text = "Компоненты";
|
|
//
|
|
// buttonRef
|
|
//
|
|
this.buttonRef.Location = new System.Drawing.Point(383, 180);
|
|
this.buttonRef.Name = "buttonRef";
|
|
this.buttonRef.Size = new System.Drawing.Size(92, 29);
|
|
this.buttonRef.TabIndex = 4;
|
|
this.buttonRef.Text = "Обновить";
|
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|
this.buttonRef.Click += new System.EventHandler(this.buttonRef_Click);
|
|
//
|
|
// buttonDel
|
|
//
|
|
this.buttonDel.Location = new System.Drawing.Point(383, 135);
|
|
this.buttonDel.Name = "buttonDel";
|
|
this.buttonDel.Size = new System.Drawing.Size(92, 28);
|
|
this.buttonDel.TabIndex = 3;
|
|
this.buttonDel.Text = "Удалить";
|
|
this.buttonDel.UseVisualStyleBackColor = true;
|
|
this.buttonDel.Click += new System.EventHandler(this.buttonDel_Click);
|
|
//
|
|
// buttonUpd
|
|
//
|
|
this.buttonUpd.Location = new System.Drawing.Point(383, 83);
|
|
this.buttonUpd.Name = "buttonUpd";
|
|
this.buttonUpd.Size = new System.Drawing.Size(93, 30);
|
|
this.buttonUpd.TabIndex = 2;
|
|
this.buttonUpd.Text = "Изменить";
|
|
this.buttonUpd.UseVisualStyleBackColor = true;
|
|
this.buttonUpd.Click += new System.EventHandler(this.buttonUpd_Click);
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(382, 34);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(93, 31);
|
|
this.buttonAdd.TabIndex = 1;
|
|
this.buttonAdd.Text = "Добавить";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.NameId,
|
|
this.CoulmnName,
|
|
this.ColumnCount});
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 22);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowTemplate.Height = 25;
|
|
this.dataGridView.Size = new System.Drawing.Size(345, 274);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// NameId
|
|
//
|
|
this.NameId.HeaderText = "Id";
|
|
this.NameId.Name = "NameId";
|
|
this.NameId.Visible = false;
|
|
//
|
|
// CoulmnName
|
|
//
|
|
this.CoulmnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.CoulmnName.HeaderText = "Компонент";
|
|
this.CoulmnName.Name = "CoulmnName";
|
|
//
|
|
// ColumnCount
|
|
//
|
|
this.ColumnCount.HeaderText = "Количество";
|
|
this.ColumnCount.Name = "ColumnCount";
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(340, 416);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(92, 26);
|
|
this.buttonSave.TabIndex = 5;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(438, 416);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(94, 26);
|
|
this.buttonCancel.TabIndex = 6;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
|
//
|
|
// FormPastry
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(600, 450);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.groupBoxComponents);
|
|
this.Controls.Add(this.labelPrice);
|
|
this.Controls.Add(this.labelName);
|
|
this.Controls.Add(this.textBoxPrice);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Name = "FormPastry";
|
|
this.Text = "Изделие";
|
|
this.Load += new System.EventHandler(this.FormPastry_Load);
|
|
this.groupBoxComponents.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxPrice;
|
|
private Label labelName;
|
|
private Label labelPrice;
|
|
private GroupBox groupBoxComponents;
|
|
private Button buttonRef;
|
|
private Button buttonDel;
|
|
private Button buttonUpd;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private DataGridViewTextBoxColumn NameId;
|
|
private DataGridViewTextBoxColumn CoulmnName;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
}
|
|
} |