2024-02-25 19:52:48 +04:00
|
|
|
|
namespace SushiBarView
|
|
|
|
|
{
|
|
|
|
|
partial class FormCreateOrder
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
labelSushi = new Label();
|
|
|
|
|
labelCount = new Label();
|
|
|
|
|
labelSum = new Label();
|
|
|
|
|
textBoxCount = new TextBox();
|
|
|
|
|
textBoxSum = new TextBox();
|
|
|
|
|
comboBoxSushi = new ComboBox();
|
|
|
|
|
buttonSave = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
2024-04-06 17:20:22 +04:00
|
|
|
|
comboBoxClients = new ComboBox();
|
|
|
|
|
labelClient = new Label();
|
2024-02-25 19:52:48 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// labelSushi
|
|
|
|
|
//
|
|
|
|
|
labelSushi.AutoSize = true;
|
|
|
|
|
labelSushi.Location = new Point(30, 30);
|
|
|
|
|
labelSushi.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
labelSushi.Name = "labelSushi";
|
|
|
|
|
labelSushi.Size = new Size(85, 24);
|
|
|
|
|
labelSushi.TabIndex = 0;
|
|
|
|
|
labelSushi.Text = "Изделие";
|
|
|
|
|
//
|
|
|
|
|
// labelCount
|
|
|
|
|
//
|
|
|
|
|
labelCount.AutoSize = true;
|
2024-04-06 17:20:22 +04:00
|
|
|
|
labelCount.Location = new Point(30, 159);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
labelCount.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
labelCount.Name = "labelCount";
|
|
|
|
|
labelCount.Size = new Size(112, 24);
|
|
|
|
|
labelCount.TabIndex = 1;
|
|
|
|
|
labelCount.Text = "Количество";
|
|
|
|
|
//
|
|
|
|
|
// labelSum
|
|
|
|
|
//
|
|
|
|
|
labelSum.AutoSize = true;
|
2024-04-06 17:20:22 +04:00
|
|
|
|
labelSum.Location = new Point(30, 231);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
labelSum.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
labelSum.Name = "labelSum";
|
|
|
|
|
labelSum.Size = new Size(68, 24);
|
|
|
|
|
labelSum.TabIndex = 2;
|
|
|
|
|
labelSum.Text = "Сумма";
|
|
|
|
|
//
|
|
|
|
|
// textBoxCount
|
|
|
|
|
//
|
2024-04-06 17:20:22 +04:00
|
|
|
|
textBoxCount.Location = new Point(227, 151);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
textBoxCount.Name = "textBoxCount";
|
|
|
|
|
textBoxCount.Size = new Size(326, 32);
|
|
|
|
|
textBoxCount.TabIndex = 3;
|
|
|
|
|
textBoxCount.TextChanged += textBoxCount_TextChanged;
|
|
|
|
|
//
|
|
|
|
|
// textBoxSum
|
|
|
|
|
//
|
|
|
|
|
textBoxSum.Enabled = false;
|
2024-04-06 17:20:22 +04:00
|
|
|
|
textBoxSum.Location = new Point(227, 223);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
textBoxSum.Name = "textBoxSum";
|
|
|
|
|
textBoxSum.Size = new Size(326, 32);
|
|
|
|
|
textBoxSum.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxSushi
|
|
|
|
|
//
|
|
|
|
|
comboBoxSushi.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxSushi.FormattingEnabled = true;
|
|
|
|
|
comboBoxSushi.Location = new Point(227, 22);
|
|
|
|
|
comboBoxSushi.Name = "comboBoxSushi";
|
|
|
|
|
comboBoxSushi.Size = new Size(326, 32);
|
|
|
|
|
comboBoxSushi.TabIndex = 5;
|
|
|
|
|
comboBoxSushi.SelectedIndexChanged += comboBoxSushi_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
2024-04-06 17:20:22 +04:00
|
|
|
|
buttonSave.Location = new Point(227, 304);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
buttonSave.Name = "buttonSave";
|
|
|
|
|
buttonSave.Size = new Size(140, 49);
|
|
|
|
|
buttonSave.TabIndex = 6;
|
|
|
|
|
buttonSave.Text = "Сохранить";
|
|
|
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSave.Click += buttonSave_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
2024-04-06 17:20:22 +04:00
|
|
|
|
buttonCancel.Location = new Point(413, 304);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(140, 49);
|
|
|
|
|
buttonCancel.TabIndex = 7;
|
|
|
|
|
buttonCancel.Text = "Отменить";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
|
|
|
//
|
2024-04-06 17:20:22 +04:00
|
|
|
|
// comboBoxClients
|
|
|
|
|
//
|
|
|
|
|
comboBoxClients.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxClients.FormattingEnabled = true;
|
|
|
|
|
comboBoxClients.Location = new Point(227, 93);
|
|
|
|
|
comboBoxClients.Name = "comboBoxClients";
|
|
|
|
|
comboBoxClients.Size = new Size(326, 32);
|
|
|
|
|
comboBoxClients.TabIndex = 9;
|
|
|
|
|
//
|
|
|
|
|
// labelClient
|
|
|
|
|
//
|
|
|
|
|
labelClient.AutoSize = true;
|
|
|
|
|
labelClient.Location = new Point(30, 101);
|
|
|
|
|
labelClient.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
labelClient.Name = "labelClient";
|
|
|
|
|
labelClient.Size = new Size(72, 24);
|
|
|
|
|
labelClient.TabIndex = 8;
|
|
|
|
|
labelClient.Text = "Клиент";
|
|
|
|
|
//
|
2024-02-25 19:52:48 +04:00
|
|
|
|
// FormCreateOrder
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = Color.FromArgb(192, 192, 255);
|
2024-04-06 17:20:22 +04:00
|
|
|
|
ClientSize = new Size(595, 387);
|
|
|
|
|
Controls.Add(comboBoxClients);
|
|
|
|
|
Controls.Add(labelClient);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonSave);
|
|
|
|
|
Controls.Add(comboBoxSushi);
|
|
|
|
|
Controls.Add(textBoxSum);
|
|
|
|
|
Controls.Add(textBoxCount);
|
|
|
|
|
Controls.Add(labelSum);
|
|
|
|
|
Controls.Add(labelCount);
|
|
|
|
|
Controls.Add(labelSushi);
|
|
|
|
|
Font = new Font("Candara", 12F, FontStyle.Regular, GraphicsUnit.Point, 204);
|
|
|
|
|
Margin = new Padding(4);
|
|
|
|
|
Name = "FormCreateOrder";
|
|
|
|
|
Text = "Создание заказа";
|
|
|
|
|
Load += FormCreateOrder_Load;
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Label labelSushi;
|
|
|
|
|
private Label labelCount;
|
|
|
|
|
private Label labelSum;
|
|
|
|
|
private TextBox textBoxCount;
|
|
|
|
|
private TextBox textBoxSum;
|
|
|
|
|
private ComboBox comboBoxSushi;
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private Button buttonCancel;
|
2024-04-06 17:20:22 +04:00
|
|
|
|
private ComboBox comboBoxClients;
|
|
|
|
|
private Label labelClient;
|
2024-02-25 19:52:48 +04:00
|
|
|
|
}
|
|
|
|
|
}
|