190 lines
7.1 KiB
C#
190 lines
7.1 KiB
C#
namespace ConfectioneryView
|
|
{
|
|
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()
|
|
{
|
|
dataGridView = new DataGridView();
|
|
id = new DataGridViewTextBoxColumn();
|
|
PastryName = new DataGridViewTextBoxColumn();
|
|
Count = new DataGridViewTextBoxColumn();
|
|
labelName = new Label();
|
|
labelAddress = new Label();
|
|
labelOpen = new Label();
|
|
textBoxName = new TextBox();
|
|
textBoxAddress = new TextBox();
|
|
dateTimePickerOpen = new DateTimePicker();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.BackgroundColor = Color.AliceBlue;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { id, PastryName, Count });
|
|
dataGridView.Location = new Point(12, 225);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.None;
|
|
dataGridView.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.AutoSizeToDisplayedHeaders;
|
|
dataGridView.RowTemplate.Height = 33;
|
|
dataGridView.Size = new Size(765, 393);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// id
|
|
//
|
|
id.HeaderText = "id";
|
|
id.MinimumWidth = 8;
|
|
id.Name = "id";
|
|
id.ReadOnly = true;
|
|
id.Visible = false;
|
|
//
|
|
// PastryName
|
|
//
|
|
PastryName.HeaderText = "Кондитерское изделие";
|
|
PastryName.MinimumWidth = 8;
|
|
PastryName.Name = "PastryName";
|
|
PastryName.ReadOnly = true;
|
|
//
|
|
// Count
|
|
//
|
|
Count.HeaderText = "Количество";
|
|
Count.MinimumWidth = 8;
|
|
Count.Name = "Count";
|
|
Count.ReadOnly = true;
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(36, 50);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(94, 25);
|
|
labelName.TabIndex = 1;
|
|
labelName.Text = "Название:";
|
|
//
|
|
// labelAddress
|
|
//
|
|
labelAddress.AutoSize = true;
|
|
labelAddress.Location = new Point(36, 98);
|
|
labelAddress.Name = "labelAddress";
|
|
labelAddress.Size = new Size(66, 25);
|
|
labelAddress.TabIndex = 2;
|
|
labelAddress.Text = "Адрес:";
|
|
//
|
|
// labelOpen
|
|
//
|
|
labelOpen.AutoSize = true;
|
|
labelOpen.Location = new Point(36, 146);
|
|
labelOpen.Name = "labelOpen";
|
|
labelOpen.Size = new Size(135, 25);
|
|
labelOpen.TabIndex = 3;
|
|
labelOpen.Text = "Дата открытия:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(201, 47);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(378, 31);
|
|
textBoxName.TabIndex = 4;
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
textBoxAddress.Location = new Point(201, 95);
|
|
textBoxAddress.Name = "textBoxAddress";
|
|
textBoxAddress.Size = new Size(378, 31);
|
|
textBoxAddress.TabIndex = 5;
|
|
//
|
|
// dateTimePickerOpen
|
|
//
|
|
dateTimePickerOpen.Location = new Point(201, 146);
|
|
dateTimePickerOpen.Name = "dateTimePickerOpen";
|
|
dateTimePickerOpen.Size = new Size(378, 31);
|
|
dateTimePickerOpen.TabIndex = 6;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(466, 650);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(139, 55);
|
|
buttonSave.TabIndex = 7;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(639, 650);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(138, 55);
|
|
buttonCancel.TabIndex = 8;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// FormShop
|
|
//
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(805, 743);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(dateTimePickerOpen);
|
|
Controls.Add(textBoxAddress);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelOpen);
|
|
Controls.Add(labelAddress);
|
|
Controls.Add(labelName);
|
|
Controls.Add(dataGridView);
|
|
Name = "FormShop";
|
|
Text = "Магазин";
|
|
Load += FormShop_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DataGridView dataGridView;
|
|
private Label labelName;
|
|
private Label labelAddress;
|
|
private Label labelOpen;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxAddress;
|
|
private DateTimePicker dateTimePickerOpen;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private DataGridViewTextBoxColumn id;
|
|
private DataGridViewTextBoxColumn PastryName;
|
|
private DataGridViewTextBoxColumn Count;
|
|
}
|
|
} |