2024-04-23 21:55:19 +04:00
|
|
|
|
namespace ConfectioneryView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
labelPastry = new Label();
|
|
|
|
|
labelAmount = new Label();
|
|
|
|
|
labelSum = new Label();
|
|
|
|
|
buttonSave = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
|
|
|
|
comboBoxPastry = new ComboBox();
|
|
|
|
|
textBoxAmount = new TextBox();
|
|
|
|
|
textBoxSum = new TextBox();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// labelPastry
|
|
|
|
|
//
|
|
|
|
|
labelPastry.AutoSize = true;
|
|
|
|
|
labelPastry.Location = new Point(23, 31);
|
|
|
|
|
labelPastry.Name = "labelPastry";
|
|
|
|
|
labelPastry.Size = new Size(64, 20);
|
|
|
|
|
labelPastry.TabIndex = 0;
|
|
|
|
|
labelPastry.Text = "Десерт: ";
|
|
|
|
|
//
|
|
|
|
|
// labelAmount
|
|
|
|
|
//
|
|
|
|
|
labelAmount.AutoSize = true;
|
|
|
|
|
labelAmount.Location = new Point(23, 72);
|
|
|
|
|
labelAmount.Name = "labelAmount";
|
|
|
|
|
labelAmount.Size = new Size(93, 20);
|
|
|
|
|
labelAmount.TabIndex = 1;
|
|
|
|
|
labelAmount.Text = "Количество:";
|
|
|
|
|
//
|
|
|
|
|
// labelSum
|
|
|
|
|
//
|
|
|
|
|
labelSum.AutoSize = true;
|
|
|
|
|
labelSum.Location = new Point(23, 110);
|
|
|
|
|
labelSum.Name = "labelSum";
|
|
|
|
|
labelSum.Size = new Size(58, 20);
|
|
|
|
|
labelSum.TabIndex = 2;
|
|
|
|
|
labelSum.Text = "Сумма:";
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
|
|
|
|
buttonSave.BackColor = SystemColors.ControlLightLight;
|
|
|
|
|
buttonSave.Location = new Point(223, 156);
|
|
|
|
|
buttonSave.Name = "buttonSave";
|
|
|
|
|
buttonSave.Size = new Size(94, 29);
|
|
|
|
|
buttonSave.TabIndex = 3;
|
|
|
|
|
buttonSave.Text = "Сохранить";
|
|
|
|
|
buttonSave.UseVisualStyleBackColor = false;
|
|
|
|
|
buttonSave.Click += buttonSave_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
|
|
|
|
buttonCancel.BackColor = SystemColors.ControlLightLight;
|
|
|
|
|
buttonCancel.Location = new Point(335, 156);
|
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(94, 29);
|
|
|
|
|
buttonCancel.TabIndex = 4;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = false;
|
|
|
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxPastry
|
|
|
|
|
//
|
|
|
|
|
comboBoxPastry.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxPastry.FormattingEnabled = true;
|
|
|
|
|
comboBoxPastry.Location = new Point(137, 28);
|
|
|
|
|
comboBoxPastry.Name = "comboBoxPastry";
|
|
|
|
|
comboBoxPastry.Size = new Size(292, 28);
|
|
|
|
|
comboBoxPastry.TabIndex = 1;
|
|
|
|
|
comboBoxPastry.SelectedIndexChanged += comboBoxPastry_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// textBoxAmount
|
|
|
|
|
//
|
|
|
|
|
textBoxAmount.Location = new Point(137, 69);
|
|
|
|
|
textBoxAmount.Name = "textBoxAmount";
|
|
|
|
|
textBoxAmount.Size = new Size(292, 27);
|
|
|
|
|
textBoxAmount.TabIndex = 6;
|
|
|
|
|
textBoxAmount.TextChanged += textBoxCount_TextChanged;
|
|
|
|
|
//
|
|
|
|
|
// textBoxSum
|
|
|
|
|
//
|
|
|
|
|
textBoxSum.Location = new Point(137, 107);
|
|
|
|
|
textBoxSum.Name = "textBoxSum";
|
|
|
|
|
textBoxSum.ReadOnly = true;
|
|
|
|
|
textBoxSum.Size = new Size(292, 27);
|
|
|
|
|
textBoxSum.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// FormCreateOrder
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(457, 195);
|
|
|
|
|
Controls.Add(textBoxSum);
|
|
|
|
|
Controls.Add(textBoxAmount);
|
|
|
|
|
Controls.Add(comboBoxPastry);
|
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonSave);
|
|
|
|
|
Controls.Add(labelSum);
|
|
|
|
|
Controls.Add(labelAmount);
|
|
|
|
|
Controls.Add(labelPastry);
|
|
|
|
|
Name = "FormCreateOrder";
|
|
|
|
|
Text = "Создание заказа";
|
2024-04-23 23:02:28 +04:00
|
|
|
|
Load += FormCreateOrder_Load;
|
2024-04-23 21:55:19 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Label labelPastry;
|
|
|
|
|
private Label labelAmount;
|
|
|
|
|
private Label labelSum;
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private Button buttonCancel;
|
|
|
|
|
private ComboBox comboBoxPastry;
|
|
|
|
|
private TextBox textBoxAmount;
|
|
|
|
|
private TextBox textBoxSum;
|
|
|
|
|
}
|
|
|
|
|
}
|