226 lines
9.8 KiB
C#
226 lines
9.8 KiB
C#
namespace RestaurantView
|
|
{
|
|
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()
|
|
{
|
|
this.labelPrice = new System.Windows.Forms.Label();
|
|
this.labelClient = new System.Windows.Forms.Label();
|
|
this.comboBoxClients = new System.Windows.Forms.ComboBox();
|
|
this.textBoxPrice = new System.Windows.Forms.TextBox();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.buttonRef = new System.Windows.Forms.Button();
|
|
this.buttonDel = new System.Windows.Forms.Button();
|
|
this.buttonUpd = new System.Windows.Forms.Button();
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.Identificator = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Product = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// labelPrice
|
|
//
|
|
this.labelPrice.AutoSize = true;
|
|
this.labelPrice.Location = new System.Drawing.Point(44, 21);
|
|
this.labelPrice.Name = "labelPrice";
|
|
this.labelPrice.Size = new System.Drawing.Size(38, 15);
|
|
this.labelPrice.TabIndex = 2;
|
|
this.labelPrice.Text = "Цена:";
|
|
//
|
|
// labelClient
|
|
//
|
|
this.labelClient.AutoSize = true;
|
|
this.labelClient.Location = new System.Drawing.Point(33, 55);
|
|
this.labelClient.Name = "labelClient";
|
|
this.labelClient.Size = new System.Drawing.Size(49, 15);
|
|
this.labelClient.TabIndex = 3;
|
|
this.labelClient.Text = "Клиент:";
|
|
//
|
|
// comboBoxClients
|
|
//
|
|
this.comboBoxClients.FormattingEnabled = true;
|
|
this.comboBoxClients.Location = new System.Drawing.Point(88, 52);
|
|
this.comboBoxClients.Name = "comboBoxClients";
|
|
this.comboBoxClients.Size = new System.Drawing.Size(254, 23);
|
|
this.comboBoxClients.TabIndex = 5;
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
this.textBoxPrice.Enabled = false;
|
|
this.textBoxPrice.Location = new System.Drawing.Point(88, 18);
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
this.textBoxPrice.Size = new System.Drawing.Size(254, 23);
|
|
this.textBoxPrice.TabIndex = 7;
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(195, 345);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonSave.TabIndex = 8;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(308, 345);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonCancel.TabIndex = 9;
|
|
this.buttonCancel.Text = "Отменить";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.buttonRef);
|
|
this.groupBox1.Controls.Add(this.buttonDel);
|
|
this.groupBox1.Controls.Add(this.buttonUpd);
|
|
this.groupBox1.Controls.Add(this.buttonAdd);
|
|
this.groupBox1.Controls.Add(this.dataGridView);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 94);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(555, 234);
|
|
this.groupBox1.TabIndex = 10;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Продукты";
|
|
//
|
|
// buttonRef
|
|
//
|
|
this.buttonRef.Location = new System.Drawing.Point(464, 168);
|
|
this.buttonRef.Name = "buttonRef";
|
|
this.buttonRef.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonRef.TabIndex = 4;
|
|
this.buttonRef.Text = "Обновить";
|
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|
this.buttonRef.Click += new System.EventHandler(this.ButtonRef_Click);
|
|
//
|
|
// buttonDel
|
|
//
|
|
this.buttonDel.Location = new System.Drawing.Point(464, 122);
|
|
this.buttonDel.Name = "buttonDel";
|
|
this.buttonDel.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonDel.TabIndex = 3;
|
|
this.buttonDel.Text = "Удалить";
|
|
this.buttonDel.UseVisualStyleBackColor = true;
|
|
this.buttonDel.Click += new System.EventHandler(this.ButtonDel_Click);
|
|
//
|
|
// buttonUpd
|
|
//
|
|
this.buttonUpd.Location = new System.Drawing.Point(464, 76);
|
|
this.buttonUpd.Name = "buttonUpd";
|
|
this.buttonUpd.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonUpd.TabIndex = 2;
|
|
this.buttonUpd.Text = "Изменить";
|
|
this.buttonUpd.UseVisualStyleBackColor = true;
|
|
this.buttonUpd.Click += new System.EventHandler(this.ButtonUpd_Click);
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(464, 33);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonAdd.TabIndex = 1;
|
|
this.buttonAdd.Text = "Добавить";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.Identificator,
|
|
this.Product,
|
|
this.Count});
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 22);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowTemplate.Height = 25;
|
|
this.dataGridView.Size = new System.Drawing.Size(447, 206);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// Identificator
|
|
//
|
|
this.Identificator.HeaderText = "Id";
|
|
this.Identificator.Name = "Identificator";
|
|
this.Identificator.Visible = false;
|
|
//
|
|
// Product
|
|
//
|
|
this.Product.HeaderText = "Продукт";
|
|
this.Product.Name = "Product";
|
|
//
|
|
// Count
|
|
//
|
|
this.Count.HeaderText = "Количество";
|
|
this.Count.Name = "Count";
|
|
//
|
|
// FormCreateOrder
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(579, 382);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.textBoxPrice);
|
|
this.Controls.Add(this.comboBoxClients);
|
|
this.Controls.Add(this.labelClient);
|
|
this.Controls.Add(this.labelPrice);
|
|
this.Name = "FormCreateOrder";
|
|
this.Text = "Заказ";
|
|
this.Load += new System.EventHandler(this.FormCreateOrder_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
private Label labelPrice;
|
|
private Label labelClient;
|
|
private ComboBox comboBoxClients;
|
|
private TextBox textBoxPrice;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private GroupBox groupBox1;
|
|
private Button buttonRef;
|
|
private Button buttonDel;
|
|
private Button buttonUpd;
|
|
private Button buttonAdd;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn Identificator;
|
|
private DataGridViewTextBoxColumn Product;
|
|
private DataGridViewTextBoxColumn Count;
|
|
}
|
|
} |