181 lines
6.6 KiB
C#
181 lines
6.6 KiB
C#
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();
|
|
labelClient = new Label();
|
|
comboBoxClient = new ComboBox();
|
|
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;
|
|
labelCount.Location = new Point(16, 98);
|
|
labelCount.Margin = new Padding(5, 0, 5, 0);
|
|
labelCount.Name = "labelCount";
|
|
labelCount.Size = new Size(97, 20);
|
|
labelCount.TabIndex = 3;
|
|
labelCount.Text = "Количество :";
|
|
//
|
|
// textBoxCount
|
|
//
|
|
textBoxCount.Location = new Point(117, 95);
|
|
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;
|
|
labelSum.Location = new Point(16, 138);
|
|
labelSum.Margin = new Padding(5, 0, 5, 0);
|
|
labelSum.Name = "labelSum";
|
|
labelSum.Size = new Size(62, 20);
|
|
labelSum.TabIndex = 5;
|
|
labelSum.Text = "Сумма :";
|
|
//
|
|
// textBoxSum
|
|
//
|
|
textBoxSum.Location = new Point(117, 135);
|
|
textBoxSum.Margin = new Padding(5, 4, 5, 4);
|
|
textBoxSum.Name = "textBoxSum";
|
|
textBoxSum.ReadOnly = true;
|
|
textBoxSum.Size = new Size(287, 27);
|
|
textBoxSum.TabIndex = 6;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(184, 185);
|
|
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
|
|
//
|
|
buttonCancel.Location = new Point(295, 185);
|
|
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;
|
|
//
|
|
// 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;
|
|
//
|
|
// FormCreateOrder
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(424, 234);
|
|
Controls.Add(comboBoxClient);
|
|
Controls.Add(labelClient);
|
|
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;
|
|
private Label labelClient;
|
|
private ComboBox comboBoxClient;
|
|
}
|
|
} |