222 lines
9.6 KiB
C#
222 lines
9.6 KiB
C#
|
namespace PizzeriaView
|
|||
|
{
|
|||
|
partial class FormShop
|
|||
|
{
|
|||
|
/// <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.labelName = new System.Windows.Forms.Label();
|
|||
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|||
|
this.textBoxAdress = new System.Windows.Forms.TextBox();
|
|||
|
this.labelAdress = new System.Windows.Forms.Label();
|
|||
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|||
|
this.buttonSave = new System.Windows.Forms.Button();
|
|||
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|||
|
this.id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.PizzaName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.Count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
this.dateTimeOpen = new System.Windows.Forms.DateTimePicker();
|
|||
|
this.label2 = new System.Windows.Forms.Label();
|
|||
|
this.numericUpPizzaMaxCount = new System.Windows.Forms.NumericUpDown();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpPizzaMaxCount)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
this.labelName.AutoSize = true;
|
|||
|
this.labelName.Location = new System.Drawing.Point(11, 15);
|
|||
|
this.labelName.Name = "labelName";
|
|||
|
this.labelName.Size = new System.Drawing.Size(84, 20);
|
|||
|
this.labelName.TabIndex = 0;
|
|||
|
this.labelName.Text = "Название: ";
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
this.textBoxName.Location = new System.Drawing.Point(102, 12);
|
|||
|
this.textBoxName.Name = "textBoxName";
|
|||
|
this.textBoxName.Size = new System.Drawing.Size(276, 27);
|
|||
|
this.textBoxName.TabIndex = 1;
|
|||
|
//
|
|||
|
// textBoxAdress
|
|||
|
//
|
|||
|
this.textBoxAdress.Location = new System.Drawing.Point(102, 59);
|
|||
|
this.textBoxAdress.Name = "textBoxAdress";
|
|||
|
this.textBoxAdress.Size = new System.Drawing.Size(427, 27);
|
|||
|
this.textBoxAdress.TabIndex = 3;
|
|||
|
//
|
|||
|
// labelAdress
|
|||
|
//
|
|||
|
this.labelAdress.AutoSize = true;
|
|||
|
this.labelAdress.Location = new System.Drawing.Point(11, 61);
|
|||
|
this.labelAdress.Name = "labelAdress";
|
|||
|
this.labelAdress.Size = new System.Drawing.Size(58, 20);
|
|||
|
this.labelAdress.TabIndex = 2;
|
|||
|
this.labelAdress.Text = "Адрес: ";
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
this.buttonCancel.Location = new System.Drawing.Point(451, 457);
|
|||
|
this.buttonCancel.Name = "buttonCancel";
|
|||
|
this.buttonCancel.Size = new System.Drawing.Size(130, 44);
|
|||
|
this.buttonCancel.TabIndex = 5;
|
|||
|
this.buttonCancel.Text = "Отмена";
|
|||
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
this.buttonSave.Location = new System.Drawing.Point(315, 457);
|
|||
|
this.buttonSave.Name = "buttonSave";
|
|||
|
this.buttonSave.Size = new System.Drawing.Size(130, 44);
|
|||
|
this.buttonSave.TabIndex = 6;
|
|||
|
this.buttonSave.Text = "Сохранить";
|
|||
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|||
|
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
this.dataGridView.AllowUserToAddRows = false;
|
|||
|
this.dataGridView.AllowUserToDeleteRows = false;
|
|||
|
this.dataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|||
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|||
|
this.id,
|
|||
|
this.PizzaName,
|
|||
|
this.Count});
|
|||
|
this.dataGridView.Location = new System.Drawing.Point(12, 185);
|
|||
|
this.dataGridView.Name = "dataGridView";
|
|||
|
this.dataGridView.ReadOnly = true;
|
|||
|
this.dataGridView.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
|
|||
|
this.dataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToDisplayedHeaders;
|
|||
|
this.dataGridView.RowTemplate.Height = 29;
|
|||
|
this.dataGridView.Size = new System.Drawing.Size(569, 266);
|
|||
|
this.dataGridView.TabIndex = 7;
|
|||
|
//
|
|||
|
// id
|
|||
|
//
|
|||
|
this.id.HeaderText = "id";
|
|||
|
this.id.MinimumWidth = 6;
|
|||
|
this.id.Name = "id";
|
|||
|
this.id.ReadOnly = true;
|
|||
|
this.id.Visible = false;
|
|||
|
//
|
|||
|
// PizzaName
|
|||
|
//
|
|||
|
this.PizzaName.HeaderText = "Пицца";
|
|||
|
this.PizzaName.MinimumWidth = 6;
|
|||
|
this.PizzaName.Name = "PizzaName";
|
|||
|
this.PizzaName.ReadOnly = true;
|
|||
|
//
|
|||
|
// Count
|
|||
|
//
|
|||
|
this.Count.HeaderText = "Количество";
|
|||
|
this.Count.MinimumWidth = 6;
|
|||
|
this.Count.Name = "Count";
|
|||
|
this.Count.ReadOnly = true;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(12, 103);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(110, 20);
|
|||
|
this.label1.TabIndex = 8;
|
|||
|
this.label1.Text = "Дата открытия";
|
|||
|
//
|
|||
|
// dateTimeOpen
|
|||
|
//
|
|||
|
this.dateTimeOpen.Location = new System.Drawing.Point(128, 103);
|
|||
|
this.dateTimeOpen.Name = "dateTimeOpen";
|
|||
|
this.dateTimeOpen.Size = new System.Drawing.Size(401, 27);
|
|||
|
this.dateTimeOpen.TabIndex = 9;
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.Location = new System.Drawing.Point(12, 148);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new System.Drawing.Size(100, 20);
|
|||
|
this.label2.TabIndex = 10;
|
|||
|
this.label2.Text = "Вместимость";
|
|||
|
//
|
|||
|
// numericUpPizzaMaxCount
|
|||
|
//
|
|||
|
this.numericUpPizzaMaxCount.Location = new System.Drawing.Point(128, 146);
|
|||
|
this.numericUpPizzaMaxCount.Maximum = new decimal(new int[] {
|
|||
|
10000,
|
|||
|
0,
|
|||
|
0,
|
|||
|
0});
|
|||
|
this.numericUpPizzaMaxCount.Name = "numericUpPizzaMaxCount";
|
|||
|
this.numericUpPizzaMaxCount.Size = new System.Drawing.Size(401, 27);
|
|||
|
this.numericUpPizzaMaxCount.TabIndex = 11;
|
|||
|
//
|
|||
|
// FormShop
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(593, 513);
|
|||
|
this.Controls.Add(this.numericUpPizzaMaxCount);
|
|||
|
this.Controls.Add(this.label2);
|
|||
|
this.Controls.Add(this.dateTimeOpen);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Controls.Add(this.dataGridView);
|
|||
|
this.Controls.Add(this.buttonSave);
|
|||
|
this.Controls.Add(this.buttonCancel);
|
|||
|
this.Controls.Add(this.textBoxAdress);
|
|||
|
this.Controls.Add(this.labelAdress);
|
|||
|
this.Controls.Add(this.textBoxName);
|
|||
|
this.Controls.Add(this.labelName);
|
|||
|
this.Name = "FormShop";
|
|||
|
this.Text = "Магазин";
|
|||
|
this.Load += new System.EventHandler(this.FormShop_Load);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpPizzaMaxCount)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Label labelName;
|
|||
|
private TextBox textBoxName;
|
|||
|
private TextBox textBoxAdress;
|
|||
|
private Label labelAdress;
|
|||
|
private Button buttonCancel;
|
|||
|
private Button buttonSave;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private DataGridViewTextBoxColumn id;
|
|||
|
private DataGridViewTextBoxColumn PizzaName;
|
|||
|
private DataGridViewTextBoxColumn Count;
|
|||
|
private Label label1;
|
|||
|
private DateTimePicker dateTimeOpen;
|
|||
|
private Label label2;
|
|||
|
private NumericUpDown numericUpPizzaMaxCount;
|
|||
|
}
|
|||
|
}
|