202 lines
7.5 KiB
C#
202 lines
7.5 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()
|
|
{
|
|
labelName = new Label();
|
|
labelCost = new Label();
|
|
textBoxName = new TextBox();
|
|
textBoxPrice = new TextBox();
|
|
groupBoxComponents = new GroupBox();
|
|
ButtonRef = new Button();
|
|
ButtonDel = new Button();
|
|
ButtonUpd = new Button();
|
|
ButtonAdd = new Button();
|
|
dataGridView = new DataGridView();
|
|
ButtonSave = new Button();
|
|
ButtonCancel = new Button();
|
|
groupBoxComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(22, 34);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(62, 15);
|
|
labelName.TabIndex = 0;
|
|
labelName.Text = "Название:";
|
|
//
|
|
// labelCost
|
|
//
|
|
labelCost.AutoSize = true;
|
|
labelCost.Location = new Point(22, 66);
|
|
labelCost.Name = "labelCost";
|
|
labelCost.Size = new Size(70, 15);
|
|
labelCost.TabIndex = 1;
|
|
labelCost.Text = "Стоимость:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(98, 31);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(208, 23);
|
|
textBoxName.TabIndex = 2;
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
textBoxPrice.Location = new Point(98, 63);
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
textBoxPrice.ReadOnly = true;
|
|
textBoxPrice.Size = new Size(156, 23);
|
|
textBoxPrice.TabIndex = 3;
|
|
//
|
|
// groupBoxComponents
|
|
//
|
|
groupBoxComponents.Controls.Add(ButtonRef);
|
|
groupBoxComponents.Controls.Add(ButtonDel);
|
|
groupBoxComponents.Controls.Add(ButtonUpd);
|
|
groupBoxComponents.Controls.Add(ButtonAdd);
|
|
groupBoxComponents.Controls.Add(dataGridView);
|
|
groupBoxComponents.Location = new Point(22, 107);
|
|
groupBoxComponents.Name = "groupBoxComponents";
|
|
groupBoxComponents.Size = new Size(766, 291);
|
|
groupBoxComponents.TabIndex = 4;
|
|
groupBoxComponents.TabStop = false;
|
|
groupBoxComponents.Text = "Компоненты";
|
|
//
|
|
// ButtonRef
|
|
//
|
|
ButtonRef.Location = new Point(616, 172);
|
|
ButtonRef.Name = "ButtonRef";
|
|
ButtonRef.Size = new Size(109, 43);
|
|
ButtonRef.TabIndex = 4;
|
|
ButtonRef.Text = "Обновить";
|
|
ButtonRef.UseVisualStyleBackColor = true;
|
|
ButtonRef.Click += ButtonRef_Click;
|
|
//
|
|
// ButtonDel
|
|
//
|
|
ButtonDel.Location = new Point(616, 123);
|
|
ButtonDel.Name = "ButtonDel";
|
|
ButtonDel.Size = new Size(109, 43);
|
|
ButtonDel.TabIndex = 3;
|
|
ButtonDel.Text = "Удалить";
|
|
ButtonDel.UseVisualStyleBackColor = true;
|
|
ButtonDel.Click += ButtonDel_Click;
|
|
//
|
|
// ButtonUpd
|
|
//
|
|
ButtonUpd.Location = new Point(616, 74);
|
|
ButtonUpd.Name = "ButtonUpd";
|
|
ButtonUpd.Size = new Size(109, 43);
|
|
ButtonUpd.TabIndex = 2;
|
|
ButtonUpd.Text = "Изменить";
|
|
ButtonUpd.UseVisualStyleBackColor = true;
|
|
ButtonUpd.Click += ButtonUpd_Click;
|
|
//
|
|
// ButtonAdd
|
|
//
|
|
ButtonAdd.Location = new Point(616, 22);
|
|
ButtonAdd.Name = "ButtonAdd";
|
|
ButtonAdd.Size = new Size(109, 43);
|
|
ButtonAdd.TabIndex = 1;
|
|
ButtonAdd.Text = "Добавить";
|
|
ButtonAdd.UseVisualStyleBackColor = true;
|
|
ButtonAdd.Click += ButtonAdd_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.Anchor = AnchorStyles.Top;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.BackgroundColor = SystemColors.Window;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Location = new Point(6, 22);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowTemplate.Height = 25;
|
|
dataGridView.Size = new Size(550, 263);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ButtonSave
|
|
//
|
|
ButtonSave.Location = new Point(547, 404);
|
|
ButtonSave.Name = "ButtonSave";
|
|
ButtonSave.Size = new Size(109, 43);
|
|
ButtonSave.TabIndex = 5;
|
|
ButtonSave.Text = "Сохранить";
|
|
ButtonSave.UseVisualStyleBackColor = true;
|
|
ButtonSave.Click += ButtonSave_Click;
|
|
//
|
|
// ButtonCancel
|
|
//
|
|
ButtonCancel.Location = new Point(662, 404);
|
|
ButtonCancel.Name = "ButtonCancel";
|
|
ButtonCancel.Size = new Size(109, 43);
|
|
ButtonCancel.TabIndex = 6;
|
|
ButtonCancel.Text = "Отмена";
|
|
ButtonCancel.UseVisualStyleBackColor = true;
|
|
ButtonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// FormSushi
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(ButtonCancel);
|
|
Controls.Add(ButtonSave);
|
|
Controls.Add(groupBoxComponents);
|
|
Controls.Add(textBoxPrice);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelCost);
|
|
Controls.Add(labelName);
|
|
Name = "FormSushi";
|
|
Text = "Суши";
|
|
Load += FormSushi_Load;
|
|
groupBoxComponents.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private Label labelCost;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxPrice;
|
|
private GroupBox groupBoxComponents;
|
|
private DataGridView dataGridView;
|
|
private Button ButtonRef;
|
|
private Button ButtonDel;
|
|
private Button ButtonUpd;
|
|
private Button ButtonAdd;
|
|
private Button ButtonSave;
|
|
private Button ButtonCancel;
|
|
}
|
|
} |