183 lines
6.9 KiB
C#
183 lines
6.9 KiB
C#
namespace SushiBarView
|
|
{
|
|
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()
|
|
{
|
|
ButtonSave = new Button();
|
|
ButtonCancel = new Button();
|
|
dataGridViewShop = new DataGridView();
|
|
id = new DataGridViewTextBoxColumn();
|
|
SushiName = new DataGridViewTextBoxColumn();
|
|
SushiCount = new DataGridViewTextBoxColumn();
|
|
labelName = new Label();
|
|
labelAdress = new Label();
|
|
labelOpenDate = new Label();
|
|
textBoxName = new TextBox();
|
|
textBoxAdress = new TextBox();
|
|
dateTimeOpenShop = new DateTimePicker();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewShop).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// ButtonSave
|
|
//
|
|
ButtonSave.Location = new Point(351, 381);
|
|
ButtonSave.Name = "ButtonSave";
|
|
ButtonSave.Size = new Size(125, 45);
|
|
ButtonSave.TabIndex = 0;
|
|
ButtonSave.Text = "Сохранить";
|
|
ButtonSave.UseVisualStyleBackColor = true;
|
|
ButtonSave.Click += ButtonSave_Click;
|
|
//
|
|
// ButtonCancel
|
|
//
|
|
ButtonCancel.Location = new Point(486, 381);
|
|
ButtonCancel.Name = "ButtonCancel";
|
|
ButtonCancel.Size = new Size(125, 45);
|
|
ButtonCancel.TabIndex = 1;
|
|
ButtonCancel.Text = "Отмена";
|
|
ButtonCancel.UseVisualStyleBackColor = true;
|
|
ButtonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// dataGridViewShop
|
|
//
|
|
dataGridViewShop.AllowUserToAddRows = false;
|
|
dataGridViewShop.AllowUserToDeleteRows = false;
|
|
dataGridViewShop.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridViewShop.BackgroundColor = SystemColors.Control;
|
|
dataGridViewShop.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewShop.Columns.AddRange(new DataGridViewColumn[] { id, SushiName, SushiCount });
|
|
dataGridViewShop.GridColor = SystemColors.Control;
|
|
dataGridViewShop.Location = new Point(12, 135);
|
|
dataGridViewShop.Name = "dataGridViewShop";
|
|
dataGridViewShop.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.AutoSizeToDisplayedHeaders;
|
|
dataGridViewShop.RowTemplate.Height = 25;
|
|
dataGridViewShop.Size = new Size(611, 240);
|
|
dataGridViewShop.TabIndex = 2;
|
|
//
|
|
// id
|
|
//
|
|
id.HeaderText = "id";
|
|
id.Name = "id";
|
|
id.Visible = false;
|
|
//
|
|
// SushiName
|
|
//
|
|
SushiName.HeaderText = "Суши";
|
|
SushiName.Name = "SushiName";
|
|
//
|
|
// SushiCount
|
|
//
|
|
SushiCount.HeaderText = "Количество";
|
|
SushiCount.Name = "SushiCount";
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(23, 24);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(62, 15);
|
|
labelName.TabIndex = 3;
|
|
labelName.Text = "Название:";
|
|
//
|
|
// labelAdress
|
|
//
|
|
labelAdress.AutoSize = true;
|
|
labelAdress.Location = new Point(23, 57);
|
|
labelAdress.Name = "labelAdress";
|
|
labelAdress.Size = new Size(43, 15);
|
|
labelAdress.TabIndex = 4;
|
|
labelAdress.Text = "Адрес:";
|
|
//
|
|
// labelOpenDate
|
|
//
|
|
labelOpenDate.AutoSize = true;
|
|
labelOpenDate.Location = new Point(23, 94);
|
|
labelOpenDate.Name = "labelOpenDate";
|
|
labelOpenDate.Size = new Size(90, 15);
|
|
labelOpenDate.TabIndex = 5;
|
|
labelOpenDate.Text = "Дата открытия:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(95, 21);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(491, 23);
|
|
textBoxName.TabIndex = 6;
|
|
//
|
|
// textBoxAdress
|
|
//
|
|
textBoxAdress.Location = new Point(95, 57);
|
|
textBoxAdress.Name = "textBoxAdress";
|
|
textBoxAdress.Size = new Size(491, 23);
|
|
textBoxAdress.TabIndex = 7;
|
|
//
|
|
// dateTimeOpenShop
|
|
//
|
|
dateTimeOpenShop.Location = new Point(119, 94);
|
|
dateTimeOpenShop.Name = "dateTimeOpenShop";
|
|
dateTimeOpenShop.Size = new Size(144, 23);
|
|
dateTimeOpenShop.TabIndex = 8;
|
|
//
|
|
// FormShop
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(635, 438);
|
|
Controls.Add(dateTimeOpenShop);
|
|
Controls.Add(textBoxAdress);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelOpenDate);
|
|
Controls.Add(labelAdress);
|
|
Controls.Add(labelName);
|
|
Controls.Add(dataGridViewShop);
|
|
Controls.Add(ButtonCancel);
|
|
Controls.Add(ButtonSave);
|
|
Name = "FormShop";
|
|
Text = "Магазин";
|
|
Load += FormShop_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewShop).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button ButtonSave;
|
|
private Button ButtonCancel;
|
|
private DataGridView dataGridViewShop;
|
|
private Label labelName;
|
|
private Label labelAdress;
|
|
private Label labelOpenDate;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxAdress;
|
|
private DateTimePicker dateTimeOpenShop;
|
|
private DataGridViewTextBoxColumn id;
|
|
private DataGridViewTextBoxColumn SushiName;
|
|
private DataGridViewTextBoxColumn SushiCount;
|
|
}
|
|
} |