213 lines
8.3 KiB
C#
213 lines
8.3 KiB
C#
namespace IceCreamShopView
|
|
{
|
|
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()
|
|
{
|
|
labelName = new Label();
|
|
textBoxName = new TextBox();
|
|
labelAddress = new Label();
|
|
textBoxAddress = new TextBox();
|
|
dateTimePicker = new DateTimePicker();
|
|
labelOpeningDate = new Label();
|
|
groupBoxIceCreams = new GroupBox();
|
|
dataGridView = new DataGridView();
|
|
ColumnId = new DataGridViewTextBoxColumn();
|
|
ColumnName = new DataGridViewTextBoxColumn();
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
groupBoxIceCreams.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(14, 10);
|
|
labelName.Margin = new Padding(4, 0, 4, 0);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(65, 15);
|
|
labelName.TabIndex = 1;
|
|
labelName.Text = "Название :";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(92, 7);
|
|
textBoxName.Margin = new Padding(4, 3, 4, 3);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(252, 23);
|
|
textBoxName.TabIndex = 2;
|
|
//
|
|
// labelAddress
|
|
//
|
|
labelAddress.AutoSize = true;
|
|
labelAddress.Location = new Point(14, 40);
|
|
labelAddress.Margin = new Padding(4, 0, 4, 0);
|
|
labelAddress.Name = "labelAddress";
|
|
labelAddress.Size = new Size(46, 15);
|
|
labelAddress.TabIndex = 3;
|
|
labelAddress.Text = "Адрес :";
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
textBoxAddress.Location = new Point(92, 37);
|
|
textBoxAddress.Margin = new Padding(4, 3, 4, 3);
|
|
textBoxAddress.Name = "textBoxAddress";
|
|
textBoxAddress.Size = new Size(252, 23);
|
|
textBoxAddress.TabIndex = 4;
|
|
//
|
|
// dateTimePicker
|
|
//
|
|
dateTimePicker.Location = new Point(126, 66);
|
|
dateTimePicker.Name = "dateTimePicker";
|
|
dateTimePicker.Size = new Size(218, 23);
|
|
dateTimePicker.TabIndex = 5;
|
|
//
|
|
// labelOpeningDate
|
|
//
|
|
labelOpeningDate.AutoSize = true;
|
|
labelOpeningDate.Location = new Point(14, 69);
|
|
labelOpeningDate.Margin = new Padding(4, 0, 4, 0);
|
|
labelOpeningDate.Name = "labelOpeningDate";
|
|
labelOpeningDate.Size = new Size(93, 15);
|
|
labelOpeningDate.TabIndex = 6;
|
|
labelOpeningDate.Text = "Дата открытия :";
|
|
//
|
|
// groupBoxIceCreams
|
|
//
|
|
groupBoxIceCreams.Controls.Add(dataGridView);
|
|
groupBoxIceCreams.Location = new Point(4, 100);
|
|
groupBoxIceCreams.Margin = new Padding(4, 3, 4, 3);
|
|
groupBoxIceCreams.Name = "groupBoxIceCreams";
|
|
groupBoxIceCreams.Padding = new Padding(4, 3, 4, 3);
|
|
groupBoxIceCreams.Size = new Size(469, 288);
|
|
groupBoxIceCreams.TabIndex = 7;
|
|
groupBoxIceCreams.TabStop = false;
|
|
groupBoxIceCreams.Text = "Мороженое";
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnName, ColumnCount });
|
|
dataGridView.Dock = DockStyle.Left;
|
|
dataGridView.Location = new Point(4, 19);
|
|
dataGridView.Margin = new Padding(4, 3, 4, 3);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(457, 266);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnId
|
|
//
|
|
ColumnId.HeaderText = "Id";
|
|
ColumnId.Name = "ColumnId";
|
|
ColumnId.ReadOnly = true;
|
|
ColumnId.Visible = false;
|
|
//
|
|
// ColumnName
|
|
//
|
|
ColumnName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ColumnName.HeaderText = "Название мороженого";
|
|
ColumnName.Name = "ColumnName";
|
|
ColumnName.ReadOnly = true;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
ColumnCount.HeaderText = "Количество";
|
|
ColumnCount.Name = "ColumnCount";
|
|
ColumnCount.ReadOnly = true;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(255, 394);
|
|
buttonSave.Margin = new Padding(4, 3, 4, 3);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(88, 27);
|
|
buttonSave.TabIndex = 8;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(359, 394);
|
|
buttonCancel.Margin = new Padding(4, 3, 4, 3);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(88, 27);
|
|
buttonCancel.TabIndex = 9;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// FormShop
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(478, 432);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(groupBoxIceCreams);
|
|
Controls.Add(labelOpeningDate);
|
|
Controls.Add(dateTimePicker);
|
|
Controls.Add(textBoxAddress);
|
|
Controls.Add(labelAddress);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelName);
|
|
Name = "FormShop";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Магазин";
|
|
Load += FormShop_Load;
|
|
groupBoxIceCreams.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private TextBox textBoxName;
|
|
private Label labelAddress;
|
|
private TextBox textBoxAddress;
|
|
private DateTimePicker dateTimePicker;
|
|
private Label labelOpeningDate;
|
|
private GroupBox groupBoxIceCreams;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn ColumnId;
|
|
private DataGridViewTextBoxColumn ColumnName;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
}
|
|
} |