2024-02-16 10:22:34 +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()
|
|
|
|
|
{
|
|
|
|
|
labelName = new Label();
|
|
|
|
|
labelCount = new Label();
|
|
|
|
|
labelSum = new Label();
|
|
|
|
|
comboBoxPastry = new ComboBox();
|
|
|
|
|
textBoxCount = new TextBox();
|
|
|
|
|
textBoxSum = new TextBox();
|
|
|
|
|
buttonSave = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
2024-05-01 15:57:43 +04:00
|
|
|
|
labelClient = new Label();
|
|
|
|
|
comboBoxClient = new ComboBox();
|
2024-02-16 10:22:34 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// labelName
|
|
|
|
|
//
|
|
|
|
|
labelName.AutoSize = true;
|
2024-05-01 15:57:43 +04:00
|
|
|
|
labelName.Location = new Point(90, 77);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
labelName.Name = "labelName";
|
|
|
|
|
labelName.Size = new Size(84, 25);
|
|
|
|
|
labelName.TabIndex = 0;
|
|
|
|
|
labelName.Text = "Изделие:";
|
|
|
|
|
//
|
|
|
|
|
// labelCount
|
|
|
|
|
//
|
|
|
|
|
labelCount.AutoSize = true;
|
2024-05-01 15:57:43 +04:00
|
|
|
|
labelCount.Location = new Point(63, 134);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
labelCount.Name = "labelCount";
|
|
|
|
|
labelCount.Size = new Size(111, 25);
|
|
|
|
|
labelCount.TabIndex = 1;
|
|
|
|
|
labelCount.Text = "Количество:";
|
|
|
|
|
//
|
|
|
|
|
// labelSum
|
|
|
|
|
//
|
|
|
|
|
labelSum.AutoSize = true;
|
2024-05-01 15:57:43 +04:00
|
|
|
|
labelSum.Location = new Point(103, 197);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
labelSum.Name = "labelSum";
|
|
|
|
|
labelSum.Size = new Size(71, 25);
|
|
|
|
|
labelSum.TabIndex = 2;
|
|
|
|
|
labelSum.Text = "Сумма:";
|
|
|
|
|
//
|
|
|
|
|
// comboBoxPastry
|
|
|
|
|
//
|
|
|
|
|
comboBoxPastry.FormattingEnabled = true;
|
2024-05-01 15:57:43 +04:00
|
|
|
|
comboBoxPastry.Location = new Point(192, 74);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
comboBoxPastry.Name = "comboBoxPastry";
|
|
|
|
|
comboBoxPastry.Size = new Size(434, 33);
|
|
|
|
|
comboBoxPastry.TabIndex = 3;
|
2024-02-28 21:24:29 +04:00
|
|
|
|
comboBoxPastry.SelectedIndexChanged += comboBoxPastry_SelectedIndexChanged;
|
2024-02-16 10:22:34 +04:00
|
|
|
|
//
|
|
|
|
|
// textBoxCount
|
|
|
|
|
//
|
2024-05-01 15:57:43 +04:00
|
|
|
|
textBoxCount.Location = new Point(192, 134);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
textBoxCount.Name = "textBoxCount";
|
|
|
|
|
textBoxCount.Size = new Size(434, 31);
|
|
|
|
|
textBoxCount.TabIndex = 4;
|
|
|
|
|
textBoxCount.TextChanged += textBoxCount_TextChanged;
|
|
|
|
|
//
|
|
|
|
|
// textBoxSum
|
|
|
|
|
//
|
2024-05-01 15:57:43 +04:00
|
|
|
|
textBoxSum.Location = new Point(192, 197);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
textBoxSum.Name = "textBoxSum";
|
2024-02-28 21:24:29 +04:00
|
|
|
|
textBoxSum.ReadOnly = true;
|
2024-02-16 10:22:34 +04:00
|
|
|
|
textBoxSum.Size = new Size(434, 31);
|
|
|
|
|
textBoxSum.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
|
|
|
|
buttonSave.Location = new Point(468, 249);
|
|
|
|
|
buttonSave.Name = "buttonSave";
|
|
|
|
|
buttonSave.Size = new Size(112, 49);
|
|
|
|
|
buttonSave.TabIndex = 6;
|
|
|
|
|
buttonSave.Text = "Сохранять";
|
|
|
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSave.Click += buttonSave_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
|
|
|
|
buttonCancel.Location = new Point(615, 249);
|
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(112, 49);
|
|
|
|
|
buttonCancel.TabIndex = 7;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
|
|
|
//
|
2024-05-01 15:57:43 +04:00
|
|
|
|
// labelClient
|
|
|
|
|
//
|
|
|
|
|
labelClient.AutoSize = true;
|
|
|
|
|
labelClient.Location = new Point(103, 20);
|
|
|
|
|
labelClient.Name = "labelClient";
|
|
|
|
|
labelClient.Size = new Size(71, 25);
|
|
|
|
|
labelClient.TabIndex = 8;
|
|
|
|
|
labelClient.Text = "Клиент:";
|
|
|
|
|
//
|
|
|
|
|
// comboBoxClient
|
|
|
|
|
//
|
|
|
|
|
comboBoxClient.FormattingEnabled = true;
|
|
|
|
|
comboBoxClient.Location = new Point(192, 12);
|
|
|
|
|
comboBoxClient.Name = "comboBoxClient";
|
|
|
|
|
comboBoxClient.Size = new Size(434, 33);
|
|
|
|
|
comboBoxClient.TabIndex = 9;
|
|
|
|
|
//
|
2024-02-16 10:22:34 +04:00
|
|
|
|
// FormCreateOrder
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(779, 333);
|
2024-05-01 15:57:43 +04:00
|
|
|
|
Controls.Add(comboBoxClient);
|
|
|
|
|
Controls.Add(labelClient);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonSave);
|
|
|
|
|
Controls.Add(textBoxSum);
|
|
|
|
|
Controls.Add(textBoxCount);
|
|
|
|
|
Controls.Add(comboBoxPastry);
|
|
|
|
|
Controls.Add(labelSum);
|
|
|
|
|
Controls.Add(labelCount);
|
|
|
|
|
Controls.Add(labelName);
|
|
|
|
|
Name = "FormCreateOrder";
|
2024-02-28 21:24:29 +04:00
|
|
|
|
Text = "Создание заказа";
|
2024-02-16 10:22:34 +04:00
|
|
|
|
Load += FormCreateOrder_Load;
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Label labelName;
|
|
|
|
|
private Label labelCount;
|
|
|
|
|
private Label labelSum;
|
|
|
|
|
private ComboBox comboBoxPastry;
|
|
|
|
|
private TextBox textBoxCount;
|
|
|
|
|
private TextBox textBoxSum;
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private Button buttonCancel;
|
2024-05-01 15:57:43 +04:00
|
|
|
|
private Label labelClient;
|
|
|
|
|
private ComboBox comboBoxClient;
|
2024-02-16 10:22:34 +04:00
|
|
|
|
}
|
|
|
|
|
}
|