155 lines
5.6 KiB
C#
155 lines
5.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();
|
|
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, 56);
|
|
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, 51);
|
|
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, 96);
|
|
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, 91);
|
|
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, 131);
|
|
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(291, 131);
|
|
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;
|
|
//
|
|
// FormCreateOrder
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(424, 181);
|
|
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;
|
|
}
|
|
} |