249 lines
11 KiB
C#
249 lines
11 KiB
C#
namespace PizzeriaView
|
|
{
|
|
partial class FormPizza
|
|
{
|
|
/// <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.labelName = new System.Windows.Forms.Label();
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
this.labelPrice = new System.Windows.Forms.Label();
|
|
this.textBoxPrice = new System.Windows.Forms.TextBox();
|
|
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.buttonCancel = new System.Windows.Forms.Button();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Component = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBoxComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
this.labelName.AutoSize = true;
|
|
this.labelName.Location = new System.Drawing.Point(14, 11);
|
|
this.labelName.Name = "labelName";
|
|
this.labelName.Size = new System.Drawing.Size(65, 15);
|
|
this.labelName.TabIndex = 0;
|
|
this.labelName.Text = "Название: ";
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(98, 9);
|
|
this.textBoxName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(257, 23);
|
|
this.textBoxName.TabIndex = 1;
|
|
//
|
|
// labelPrice
|
|
//
|
|
this.labelPrice.AutoSize = true;
|
|
this.labelPrice.Location = new System.Drawing.Point(14, 38);
|
|
this.labelPrice.Name = "labelPrice";
|
|
this.labelPrice.Size = new System.Drawing.Size(73, 15);
|
|
this.labelPrice.TabIndex = 2;
|
|
this.labelPrice.Text = "Стоимость: ";
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
this.textBoxPrice.Location = new System.Drawing.Point(98, 38);
|
|
this.textBoxPrice.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
this.textBoxPrice.Size = new System.Drawing.Size(150, 23);
|
|
this.textBoxPrice.TabIndex = 3;
|
|
//
|
|
// 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(10, 63);
|
|
this.groupBoxComponents.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.groupBoxComponents.Name = "groupBoxComponents";
|
|
this.groupBoxComponents.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.groupBoxComponents.Size = new System.Drawing.Size(578, 239);
|
|
this.groupBoxComponents.TabIndex = 4;
|
|
this.groupBoxComponents.TabStop = false;
|
|
this.groupBoxComponents.Text = "Ингредиенты";
|
|
//
|
|
// buttonRef
|
|
//
|
|
this.buttonRef.Location = new System.Drawing.Point(439, 158);
|
|
this.buttonRef.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonRef.Name = "buttonRef";
|
|
this.buttonRef.Size = new System.Drawing.Size(110, 26);
|
|
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(439, 118);
|
|
this.buttonDel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonDel.Name = "buttonDel";
|
|
this.buttonDel.Size = new System.Drawing.Size(110, 26);
|
|
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(439, 76);
|
|
this.buttonUpd.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonUpd.Name = "buttonUpd";
|
|
this.buttonUpd.Size = new System.Drawing.Size(110, 26);
|
|
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(439, 35);
|
|
this.buttonAdd.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(110, 26);
|
|
this.buttonAdd.TabIndex = 1;
|
|
this.buttonAdd.Text = "Добавить";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.AllowUserToAddRows = false;
|
|
this.dataGridView.AllowUserToDeleteRows = false;
|
|
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.id,
|
|
this.Component,
|
|
this.Count});
|
|
this.dataGridView.Location = new System.Drawing.Point(5, 20);
|
|
this.dataGridView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.ReadOnly = true;
|
|
this.dataGridView.RowHeadersWidth = 51;
|
|
this.dataGridView.RowTemplate.Height = 29;
|
|
this.dataGridView.Size = new System.Drawing.Size(416, 215);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(450, 313);
|
|
this.buttonCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(110, 26);
|
|
this.buttonCancel.TabIndex = 5;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(322, 313);
|
|
this.buttonSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(110, 26);
|
|
this.buttonSave.TabIndex = 6;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
//
|
|
// id
|
|
//
|
|
this.id.HeaderText = "id";
|
|
this.id.MinimumWidth = 6;
|
|
this.id.Name = "id";
|
|
this.id.ReadOnly = true;
|
|
this.id.Visible = false;
|
|
//
|
|
// Component
|
|
//
|
|
this.Component.HeaderText = "Ингредиент";
|
|
this.Component.MinimumWidth = 6;
|
|
this.Component.Name = "Component";
|
|
this.Component.ReadOnly = true;
|
|
//
|
|
// Count
|
|
//
|
|
this.Count.HeaderText = "Количество";
|
|
this.Count.MinimumWidth = 6;
|
|
this.Count.Name = "Count";
|
|
this.Count.ReadOnly = true;
|
|
//
|
|
// FormPizza
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(599, 347);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.groupBoxComponents);
|
|
this.Controls.Add(this.textBoxPrice);
|
|
this.Controls.Add(this.labelPrice);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Controls.Add(this.labelName);
|
|
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.Name = "FormPizza";
|
|
this.Text = "Пицца";
|
|
this.Load += new System.EventHandler(this.FormPizza_Load);
|
|
this.groupBoxComponents.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private TextBox textBoxName;
|
|
private Label labelPrice;
|
|
private TextBox textBoxPrice;
|
|
private GroupBox groupBoxComponents;
|
|
private Button buttonRef;
|
|
private Button buttonDel;
|
|
private Button buttonUpd;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private DataGridViewTextBoxColumn id;
|
|
private DataGridViewTextBoxColumn Component;
|
|
private DataGridViewTextBoxColumn Count;
|
|
}
|
|
} |