246 lines
12 KiB
C#
246 lines
12 KiB
C#
namespace SushiBarView
|
|
{
|
|
partial class FormSushi
|
|
{
|
|
/// <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.textBoxPrice = new System.Windows.Forms.TextBox();
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
this.labelPrice = new System.Windows.Forms.Label();
|
|
this.labelName = new System.Windows.Forms.Label();
|
|
this.groupBoxIngredients = new System.Windows.Forms.GroupBox();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.buttonUpdate = new System.Windows.Forms.Button();
|
|
this.buttonDelete = new System.Windows.Forms.Button();
|
|
this.buttonEdit = new System.Windows.Forms.Button();
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnIngredientName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBoxIngredients.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
this.textBoxPrice.Location = new System.Drawing.Point(90, 36);
|
|
this.textBoxPrice.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
this.textBoxPrice.Size = new System.Drawing.Size(138, 23);
|
|
this.textBoxPrice.TabIndex = 7;
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(90, 11);
|
|
this.textBoxName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(276, 23);
|
|
this.textBoxName.TabIndex = 6;
|
|
//
|
|
// labelPrice
|
|
//
|
|
this.labelPrice.AutoSize = true;
|
|
this.labelPrice.Location = new System.Drawing.Point(14, 41);
|
|
this.labelPrice.Name = "labelPrice";
|
|
this.labelPrice.Size = new System.Drawing.Size(70, 15);
|
|
this.labelPrice.TabIndex = 5;
|
|
this.labelPrice.Text = "Стоимость:";
|
|
//
|
|
// labelName
|
|
//
|
|
this.labelName.AutoSize = true;
|
|
this.labelName.Location = new System.Drawing.Point(14, 14);
|
|
this.labelName.Name = "labelName";
|
|
this.labelName.Size = new System.Drawing.Size(62, 15);
|
|
this.labelName.TabIndex = 4;
|
|
this.labelName.Text = "Название:";
|
|
//
|
|
// groupBoxIngredients
|
|
//
|
|
this.groupBoxIngredients.Controls.Add(this.buttonCancel);
|
|
this.groupBoxIngredients.Controls.Add(this.buttonSave);
|
|
this.groupBoxIngredients.Controls.Add(this.buttonUpdate);
|
|
this.groupBoxIngredients.Controls.Add(this.buttonDelete);
|
|
this.groupBoxIngredients.Controls.Add(this.buttonEdit);
|
|
this.groupBoxIngredients.Controls.Add(this.buttonAdd);
|
|
this.groupBoxIngredients.Controls.Add(this.dataGridView);
|
|
this.groupBoxIngredients.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.groupBoxIngredients.Location = new System.Drawing.Point(0, 70);
|
|
this.groupBoxIngredients.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.groupBoxIngredients.Name = "groupBoxIngredients";
|
|
this.groupBoxIngredients.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.groupBoxIngredients.Size = new System.Drawing.Size(592, 206);
|
|
this.groupBoxIngredients.TabIndex = 8;
|
|
this.groupBoxIngredients.TabStop = false;
|
|
this.groupBoxIngredients.Text = "Компоненты";
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(504, 176);
|
|
this.buttonCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(79, 22);
|
|
this.buttonCancel.TabIndex = 6;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(504, 150);
|
|
this.buttonSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(79, 22);
|
|
this.buttonSave.TabIndex = 5;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
this.buttonUpdate.Location = new System.Drawing.Point(504, 98);
|
|
this.buttonUpdate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonUpdate.Name = "buttonUpdate";
|
|
this.buttonUpdate.Size = new System.Drawing.Size(79, 22);
|
|
this.buttonUpdate.TabIndex = 4;
|
|
this.buttonUpdate.Text = "Обновить";
|
|
this.buttonUpdate.UseVisualStyleBackColor = true;
|
|
this.buttonUpdate.Click += new System.EventHandler(this.ButtonRef_Click);
|
|
//
|
|
// buttonDelete
|
|
//
|
|
this.buttonDelete.Location = new System.Drawing.Point(504, 72);
|
|
this.buttonDelete.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonDelete.Name = "buttonDelete";
|
|
this.buttonDelete.Size = new System.Drawing.Size(79, 22);
|
|
this.buttonDelete.TabIndex = 3;
|
|
this.buttonDelete.Text = "Удалить";
|
|
this.buttonDelete.UseVisualStyleBackColor = true;
|
|
this.buttonDelete.Click += new System.EventHandler(this.ButtonDel_Click);
|
|
//
|
|
// buttonEdit
|
|
//
|
|
this.buttonEdit.Location = new System.Drawing.Point(504, 46);
|
|
this.buttonEdit.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonEdit.Name = "buttonEdit";
|
|
this.buttonEdit.Size = new System.Drawing.Size(79, 22);
|
|
this.buttonEdit.TabIndex = 2;
|
|
this.buttonEdit.Text = "Изменить";
|
|
this.buttonEdit.UseVisualStyleBackColor = true;
|
|
this.buttonEdit.Click += new System.EventHandler(this.ButtonUpd_Click);
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(504, 20);
|
|
this.buttonAdd.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(79, 22);
|
|
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.ID,
|
|
this.ColumnIngredientName,
|
|
this.ColumnCount});
|
|
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.RowHeadersWidth = 51;
|
|
this.dataGridView.RowTemplate.Height = 29;
|
|
this.dataGridView.Size = new System.Drawing.Size(493, 182);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// ID
|
|
//
|
|
this.ID.HeaderText = "ID";
|
|
this.ID.MinimumWidth = 6;
|
|
this.ID.Name = "ID";
|
|
this.ID.Visible = false;
|
|
this.ID.Width = 125;
|
|
//
|
|
// ColumnIngredientName
|
|
//
|
|
this.ColumnIngredientName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
this.ColumnIngredientName.HeaderText = "Ингредиент";
|
|
this.ColumnIngredientName.MinimumWidth = 6;
|
|
this.ColumnIngredientName.Name = "ColumnIngredientName";
|
|
this.ColumnIngredientName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.ColumnIngredientName.Width = 312;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
this.ColumnCount.HeaderText = "Количество";
|
|
this.ColumnCount.MinimumWidth = 6;
|
|
this.ColumnCount.Name = "ColumnCount";
|
|
this.ColumnCount.Width = 125;
|
|
//
|
|
// FormSushi
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(592, 276);
|
|
this.Controls.Add(this.groupBoxIngredients);
|
|
this.Controls.Add(this.textBoxPrice);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Controls.Add(this.labelPrice);
|
|
this.Controls.Add(this.labelName);
|
|
this.Name = "FormSushi";
|
|
this.Text = "Суши";
|
|
this.Load += new System.EventHandler(this.FormSushi_Load);
|
|
this.groupBoxIngredients.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox textBoxPrice;
|
|
private TextBox textBoxName;
|
|
private Label labelPrice;
|
|
private Label labelName;
|
|
private GroupBox groupBoxIngredients;
|
|
private Button buttonUpdate;
|
|
private Button buttonDelete;
|
|
private Button buttonEdit;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private DataGridViewTextBoxColumn ID;
|
|
private DataGridViewTextBoxColumn ColumnIngredientName;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
}
|
|
} |