167 lines
5.7 KiB
C#
167 lines
5.7 KiB
C#
namespace ComputersShopView
|
|
{
|
|
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()
|
|
{
|
|
labelComputer = new Label();
|
|
comboBoxComputer = new ComboBox();
|
|
labelAmount = new Label();
|
|
textBoxCount = new TextBox();
|
|
textBoxSum = new TextBox();
|
|
labelSum = new Label();
|
|
button1 = new Button();
|
|
button2 = new Button();
|
|
comboBoxClient = new ComboBox();
|
|
labelClients = new Label();
|
|
SuspendLayout();
|
|
//
|
|
// labelComputer
|
|
//
|
|
labelComputer.AutoSize = true;
|
|
labelComputer.Location = new Point(12, 15);
|
|
labelComputer.Name = "labelComputer";
|
|
labelComputer.Size = new Size(74, 15);
|
|
labelComputer.TabIndex = 0;
|
|
labelComputer.Text = "Компьютер:";
|
|
//
|
|
// comboBoxComputer
|
|
//
|
|
comboBoxComputer.FormattingEnabled = true;
|
|
comboBoxComputer.Location = new Point(94, 12);
|
|
comboBoxComputer.Name = "comboBoxComputer";
|
|
comboBoxComputer.Size = new Size(251, 23);
|
|
comboBoxComputer.TabIndex = 1;
|
|
comboBoxComputer.SelectedIndexChanged += comboBoxComputer_SelectedIndexChanged;
|
|
//
|
|
// labelAmount
|
|
//
|
|
labelAmount.AutoSize = true;
|
|
labelAmount.Location = new Point(12, 44);
|
|
labelAmount.Name = "labelAmount";
|
|
labelAmount.Size = new Size(75, 15);
|
|
labelAmount.TabIndex = 2;
|
|
labelAmount.Text = "Количество:";
|
|
//
|
|
// textBoxCount
|
|
//
|
|
textBoxCount.Location = new Point(94, 41);
|
|
textBoxCount.Name = "textBoxCount";
|
|
textBoxCount.Size = new Size(251, 23);
|
|
textBoxCount.TabIndex = 3;
|
|
textBoxCount.TextChanged += TextBoxCount_TextChanged;
|
|
//
|
|
// textBoxSum
|
|
//
|
|
textBoxSum.Location = new Point(94, 70);
|
|
textBoxSum.Name = "textBoxSum";
|
|
textBoxSum.ReadOnly = true;
|
|
textBoxSum.Size = new Size(251, 23);
|
|
textBoxSum.TabIndex = 5;
|
|
//
|
|
// labelSum
|
|
//
|
|
labelSum.AutoSize = true;
|
|
labelSum.Location = new Point(12, 73);
|
|
labelSum.Name = "labelSum";
|
|
labelSum.Size = new Size(48, 15);
|
|
labelSum.TabIndex = 4;
|
|
labelSum.Text = "Сумма:";
|
|
//
|
|
// button1
|
|
//
|
|
button1.Location = new Point(187, 134);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(75, 23);
|
|
button1.TabIndex = 6;
|
|
button1.Text = "Сохранить";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += ButtonSave_Click;
|
|
//
|
|
// button2
|
|
//
|
|
button2.Location = new Point(268, 134);
|
|
button2.Name = "button2";
|
|
button2.Size = new Size(75, 23);
|
|
button2.TabIndex = 7;
|
|
button2.Text = "Отмена";
|
|
button2.UseVisualStyleBackColor = true;
|
|
button2.Click += ButtonCancel_Click;
|
|
//
|
|
// comboBoxClient
|
|
//
|
|
comboBoxClient.FormattingEnabled = true;
|
|
comboBoxClient.Location = new Point(94, 99);
|
|
comboBoxClient.Name = "comboBoxClient";
|
|
comboBoxClient.Size = new Size(251, 23);
|
|
comboBoxClient.TabIndex = 9;
|
|
//
|
|
// labelClients
|
|
//
|
|
labelClients.AutoSize = true;
|
|
labelClients.Location = new Point(14, 102);
|
|
labelClients.Name = "labelClients";
|
|
labelClients.Size = new Size(49, 15);
|
|
labelClients.TabIndex = 8;
|
|
labelClients.Text = "Клиент:";
|
|
//
|
|
// FormCreateOrder
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(357, 169);
|
|
Controls.Add(comboBoxClient);
|
|
Controls.Add(labelClients);
|
|
Controls.Add(button2);
|
|
Controls.Add(button1);
|
|
Controls.Add(textBoxSum);
|
|
Controls.Add(labelSum);
|
|
Controls.Add(textBoxCount);
|
|
Controls.Add(labelAmount);
|
|
Controls.Add(comboBoxComputer);
|
|
Controls.Add(labelComputer);
|
|
Name = "FormCreateOrder";
|
|
Text = "Заказ";
|
|
Load += FormCreateOrder_Load;
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelComputer;
|
|
private ComboBox comboBoxComputer;
|
|
private Label labelAmount;
|
|
private TextBox textBoxCount;
|
|
private TextBox textBoxSum;
|
|
private Label labelSum;
|
|
private Button button1;
|
|
private Button button2;
|
|
private ComboBox comboBoxClient;
|
|
private Label labelClients;
|
|
}
|
|
} |