225 lines
10 KiB
C#
225 lines
10 KiB
C#
namespace FoodOrdersView
|
|
{
|
|
partial class FormFood
|
|
{
|
|
/// <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.FoodNameLabel = new System.Windows.Forms.Label();
|
|
this.PriceLabel = new System.Windows.Forms.Label();
|
|
this.FoodNameTextBox = new System.Windows.Forms.TextBox();
|
|
this.PriceTextBox = new System.Windows.Forms.TextBox();
|
|
this.ComponentsGroupBox = new System.Windows.Forms.GroupBox();
|
|
this.DeleteButton = new System.Windows.Forms.Button();
|
|
this.UpdateButton = new System.Windows.Forms.Button();
|
|
this.ChangeButton = new System.Windows.Forms.Button();
|
|
this.AddButton = new System.Windows.Forms.Button();
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ComponentNameField = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.CountField = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.SaveButton = new System.Windows.Forms.Button();
|
|
this.ButtonCancel = new System.Windows.Forms.Button();
|
|
this.ComponentsGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// FoodNameLabel
|
|
//
|
|
this.FoodNameLabel.AutoSize = true;
|
|
this.FoodNameLabel.Location = new System.Drawing.Point(12, 9);
|
|
this.FoodNameLabel.Name = "FoodNameLabel";
|
|
this.FoodNameLabel.Size = new System.Drawing.Size(65, 15);
|
|
this.FoodNameLabel.TabIndex = 0;
|
|
this.FoodNameLabel.Text = "Название: ";
|
|
//
|
|
// PriceLabel
|
|
//
|
|
this.PriceLabel.AutoSize = true;
|
|
this.PriceLabel.Location = new System.Drawing.Point(12, 47);
|
|
this.PriceLabel.Name = "PriceLabel";
|
|
this.PriceLabel.Size = new System.Drawing.Size(73, 15);
|
|
this.PriceLabel.TabIndex = 1;
|
|
this.PriceLabel.Text = "Стоимость: ";
|
|
//
|
|
// FoodNameTextBox
|
|
//
|
|
this.FoodNameTextBox.Location = new System.Drawing.Point(83, 6);
|
|
this.FoodNameTextBox.Name = "FoodNameTextBox";
|
|
this.FoodNameTextBox.Size = new System.Drawing.Size(250, 23);
|
|
this.FoodNameTextBox.TabIndex = 2;
|
|
//
|
|
// PriceTextBox
|
|
//
|
|
this.PriceTextBox.Location = new System.Drawing.Point(83, 44);
|
|
this.PriceTextBox.Name = "PriceTextBox";
|
|
this.PriceTextBox.Size = new System.Drawing.Size(250, 23);
|
|
this.PriceTextBox.TabIndex = 3;
|
|
//
|
|
// ComponentsGroupBox
|
|
//
|
|
this.ComponentsGroupBox.Controls.Add(this.ButtonCancel);
|
|
this.ComponentsGroupBox.Controls.Add(this.SaveButton);
|
|
this.ComponentsGroupBox.Controls.Add(this.DeleteButton);
|
|
this.ComponentsGroupBox.Controls.Add(this.UpdateButton);
|
|
this.ComponentsGroupBox.Controls.Add(this.ChangeButton);
|
|
this.ComponentsGroupBox.Controls.Add(this.AddButton);
|
|
this.ComponentsGroupBox.Controls.Add(this.dataGridView1);
|
|
this.ComponentsGroupBox.Location = new System.Drawing.Point(12, 73);
|
|
this.ComponentsGroupBox.Name = "ComponentsGroupBox";
|
|
this.ComponentsGroupBox.Size = new System.Drawing.Size(677, 352);
|
|
this.ComponentsGroupBox.TabIndex = 4;
|
|
this.ComponentsGroupBox.TabStop = false;
|
|
this.ComponentsGroupBox.Text = "Компоненты";
|
|
//
|
|
// DeleteButton
|
|
//
|
|
this.DeleteButton.Location = new System.Drawing.Point(521, 137);
|
|
this.DeleteButton.Name = "DeleteButton";
|
|
this.DeleteButton.Size = new System.Drawing.Size(150, 38);
|
|
this.DeleteButton.TabIndex = 4;
|
|
this.DeleteButton.Text = "Удалить";
|
|
this.DeleteButton.UseVisualStyleBackColor = true;
|
|
this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
|
|
//
|
|
// UpdateButton
|
|
//
|
|
this.UpdateButton.Location = new System.Drawing.Point(521, 192);
|
|
this.UpdateButton.Name = "UpdateButton";
|
|
this.UpdateButton.Size = new System.Drawing.Size(150, 38);
|
|
this.UpdateButton.TabIndex = 3;
|
|
this.UpdateButton.Text = "Обновить";
|
|
this.UpdateButton.UseVisualStyleBackColor = true;
|
|
this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click);
|
|
//
|
|
// ChangeButton
|
|
//
|
|
this.ChangeButton.Location = new System.Drawing.Point(521, 79);
|
|
this.ChangeButton.Name = "ChangeButton";
|
|
this.ChangeButton.Size = new System.Drawing.Size(150, 38);
|
|
this.ChangeButton.TabIndex = 2;
|
|
this.ChangeButton.Text = "Изменить";
|
|
this.ChangeButton.UseVisualStyleBackColor = true;
|
|
this.ChangeButton.Click += new System.EventHandler(this.ChangeButton_Click);
|
|
//
|
|
// AddButton
|
|
//
|
|
this.AddButton.Location = new System.Drawing.Point(521, 22);
|
|
this.AddButton.Name = "AddButton";
|
|
this.AddButton.Size = new System.Drawing.Size(150, 38);
|
|
this.AddButton.TabIndex = 1;
|
|
this.AddButton.Text = "Добавить";
|
|
this.AddButton.UseVisualStyleBackColor = true;
|
|
this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ID,
|
|
this.ComponentNameField,
|
|
this.CountField});
|
|
this.dataGridView1.Location = new System.Drawing.Point(6, 22);
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.RowTemplate.Height = 25;
|
|
this.dataGridView1.Size = new System.Drawing.Size(509, 285);
|
|
this.dataGridView1.TabIndex = 0;
|
|
//
|
|
// ID
|
|
//
|
|
this.ID.HeaderText = "ID";
|
|
this.ID.Name = "ID";
|
|
this.ID.Visible = false;
|
|
//
|
|
// ComponentNameField
|
|
//
|
|
this.ComponentNameField.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ComponentNameField.HeaderText = "Компонент";
|
|
this.ComponentNameField.Name = "ComponentNameField";
|
|
//
|
|
// CountField
|
|
//
|
|
this.CountField.HeaderText = "Количество";
|
|
this.CountField.Name = "CountField";
|
|
//
|
|
// SaveButton
|
|
//
|
|
this.SaveButton.Location = new System.Drawing.Point(469, 321);
|
|
this.SaveButton.Name = "SaveButton";
|
|
this.SaveButton.Size = new System.Drawing.Size(98, 23);
|
|
this.SaveButton.TabIndex = 5;
|
|
this.SaveButton.Text = "Сохранить";
|
|
this.SaveButton.UseVisualStyleBackColor = true;
|
|
this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
|
|
//
|
|
// ButtonCancel
|
|
//
|
|
this.ButtonCancel.Location = new System.Drawing.Point(573, 321);
|
|
this.ButtonCancel.Name = "ButtonCancel";
|
|
this.ButtonCancel.Size = new System.Drawing.Size(98, 23);
|
|
this.ButtonCancel.TabIndex = 6;
|
|
this.ButtonCancel.Text = "Отмена";
|
|
this.ButtonCancel.UseVisualStyleBackColor = true;
|
|
this.ButtonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// FormFood
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(701, 429);
|
|
this.Controls.Add(this.ComponentsGroupBox);
|
|
this.Controls.Add(this.PriceTextBox);
|
|
this.Controls.Add(this.FoodNameTextBox);
|
|
this.Controls.Add(this.PriceLabel);
|
|
this.Controls.Add(this.FoodNameLabel);
|
|
this.Name = "FormFood";
|
|
this.Text = "Изделие";
|
|
this.ComponentsGroupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label FoodNameLabel;
|
|
private Label PriceLabel;
|
|
private TextBox FoodNameTextBox;
|
|
private TextBox PriceTextBox;
|
|
private GroupBox ComponentsGroupBox;
|
|
private Button ChangeButton;
|
|
private Button AddButton;
|
|
private DataGridView dataGridView1;
|
|
private DataGridViewTextBoxColumn ID;
|
|
private DataGridViewTextBoxColumn ComponentNameField;
|
|
private DataGridViewTextBoxColumn CountField;
|
|
private Button DeleteButton;
|
|
private Button UpdateButton;
|
|
private Button ButtonCancel;
|
|
private Button SaveButton;
|
|
}
|
|
} |