2024-02-18 00:35:38 +04:00
|
|
|
|
namespace FoodOrdersView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
labelFood = new Label();
|
|
|
|
|
comboBoxFood = new ComboBox();
|
|
|
|
|
labelCount = new Label();
|
|
|
|
|
textBoxCount = new TextBox();
|
|
|
|
|
labelSum = new Label();
|
|
|
|
|
textBoxSum = new TextBox();
|
|
|
|
|
buttonSave = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
2024-04-08 12:09:09 +04:00
|
|
|
|
labelClient = new Label();
|
|
|
|
|
comboBoxClient = new ComboBox();
|
2024-02-18 00:35:38 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// labelFood
|
|
|
|
|
//
|
|
|
|
|
labelFood.AutoSize = true;
|
|
|
|
|
labelFood.Location = new Point(16, 14);
|
|
|
|
|
labelFood.Margin = new Padding(5, 0, 5, 0);
|
|
|
|
|
labelFood.Name = "labelFood";
|
|
|
|
|
labelFood.Size = new Size(62, 20);
|
|
|
|
|
labelFood.TabIndex = 1;
|
|
|
|
|
labelFood.Text = "Блюдо :";
|
|
|
|
|
//
|
|
|
|
|
// comboBoxFood
|
|
|
|
|
//
|
|
|
|
|
comboBoxFood.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxFood.FormattingEnabled = true;
|
|
|
|
|
comboBoxFood.Location = new Point(117, 9);
|
|
|
|
|
comboBoxFood.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
comboBoxFood.Name = "comboBoxFood";
|
|
|
|
|
comboBoxFood.Size = new Size(287, 28);
|
|
|
|
|
comboBoxFood.TabIndex = 2;
|
|
|
|
|
comboBoxFood.SelectedIndexChanged += ComboBoxFood_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// labelCount
|
|
|
|
|
//
|
|
|
|
|
labelCount.AutoSize = true;
|
2024-04-08 12:09:09 +04:00
|
|
|
|
labelCount.Location = new Point(16, 98);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
labelCount.Margin = new Padding(5, 0, 5, 0);
|
|
|
|
|
labelCount.Name = "labelCount";
|
|
|
|
|
labelCount.Size = new Size(97, 20);
|
|
|
|
|
labelCount.TabIndex = 3;
|
|
|
|
|
labelCount.Text = "Количество :";
|
|
|
|
|
//
|
|
|
|
|
// textBoxCount
|
|
|
|
|
//
|
2024-04-08 12:09:09 +04:00
|
|
|
|
textBoxCount.Location = new Point(117, 95);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
textBoxCount.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
textBoxCount.Name = "textBoxCount";
|
|
|
|
|
textBoxCount.Size = new Size(287, 27);
|
|
|
|
|
textBoxCount.TabIndex = 4;
|
|
|
|
|
textBoxCount.TextChanged += TextBoxCount_TextChanged;
|
|
|
|
|
//
|
|
|
|
|
// labelSum
|
|
|
|
|
//
|
|
|
|
|
labelSum.AutoSize = true;
|
2024-04-08 12:09:09 +04:00
|
|
|
|
labelSum.Location = new Point(16, 138);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
labelSum.Margin = new Padding(5, 0, 5, 0);
|
|
|
|
|
labelSum.Name = "labelSum";
|
|
|
|
|
labelSum.Size = new Size(62, 20);
|
|
|
|
|
labelSum.TabIndex = 5;
|
|
|
|
|
labelSum.Text = "Сумма :";
|
|
|
|
|
//
|
|
|
|
|
// textBoxSum
|
|
|
|
|
//
|
2024-04-08 12:09:09 +04:00
|
|
|
|
textBoxSum.Location = new Point(117, 135);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
textBoxSum.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
textBoxSum.Name = "textBoxSum";
|
|
|
|
|
textBoxSum.ReadOnly = true;
|
|
|
|
|
textBoxSum.Size = new Size(287, 27);
|
|
|
|
|
textBoxSum.TabIndex = 6;
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
2024-04-08 12:09:09 +04:00
|
|
|
|
buttonSave.Location = new Point(184, 185);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
buttonSave.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonSave.Name = "buttonSave";
|
|
|
|
|
buttonSave.Size = new Size(101, 36);
|
|
|
|
|
buttonSave.TabIndex = 7;
|
|
|
|
|
buttonSave.Text = "Сохранить";
|
|
|
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSave.Click += ButtonSave_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
2024-04-08 12:09:09 +04:00
|
|
|
|
buttonCancel.Location = new Point(295, 185);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
buttonCancel.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(101, 36);
|
|
|
|
|
buttonCancel.TabIndex = 8;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
|
|
|
//
|
2024-04-08 12:09:09 +04:00
|
|
|
|
// labelClient
|
|
|
|
|
//
|
|
|
|
|
labelClient.AutoSize = true;
|
|
|
|
|
labelClient.Location = new Point(16, 57);
|
|
|
|
|
labelClient.Margin = new Padding(5, 0, 5, 0);
|
|
|
|
|
labelClient.Name = "labelClient";
|
|
|
|
|
labelClient.Size = new Size(65, 20);
|
|
|
|
|
labelClient.TabIndex = 9;
|
|
|
|
|
labelClient.Text = "Клиент :";
|
|
|
|
|
//
|
|
|
|
|
// comboBoxClient
|
|
|
|
|
//
|
|
|
|
|
comboBoxClient.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxClient.FormattingEnabled = true;
|
|
|
|
|
comboBoxClient.Location = new Point(117, 54);
|
|
|
|
|
comboBoxClient.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
comboBoxClient.Name = "comboBoxClient";
|
|
|
|
|
comboBoxClient.Size = new Size(287, 28);
|
|
|
|
|
comboBoxClient.TabIndex = 10;
|
|
|
|
|
//
|
2024-02-18 00:35:38 +04:00
|
|
|
|
// FormCreateOrder
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-04-08 12:09:09 +04:00
|
|
|
|
ClientSize = new Size(424, 234);
|
|
|
|
|
Controls.Add(comboBoxClient);
|
|
|
|
|
Controls.Add(labelClient);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonSave);
|
|
|
|
|
Controls.Add(textBoxSum);
|
|
|
|
|
Controls.Add(labelSum);
|
|
|
|
|
Controls.Add(textBoxCount);
|
|
|
|
|
Controls.Add(labelCount);
|
|
|
|
|
Controls.Add(comboBoxFood);
|
|
|
|
|
Controls.Add(labelFood);
|
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
Name = "FormCreateOrder";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Заказ";
|
|
|
|
|
Load += FormCreateOrder_Load;
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Label labelFood;
|
|
|
|
|
private ComboBox comboBoxFood;
|
|
|
|
|
private Label labelCount;
|
|
|
|
|
private TextBox textBoxCount;
|
|
|
|
|
private Label labelSum;
|
|
|
|
|
private TextBox textBoxSum;
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private Button buttonCancel;
|
2024-04-08 12:09:09 +04:00
|
|
|
|
private Label labelClient;
|
|
|
|
|
private ComboBox comboBoxClient;
|
2024-02-18 00:35:38 +04:00
|
|
|
|
}
|
|
|
|
|
}
|