2024-04-18 23:41:30 +04:00
|
|
|
|
namespace PrecastConcretePlantView
|
|
|
|
|
{
|
|
|
|
|
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();
|
|
|
|
|
groupBoxReinforceds = new GroupBox();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
ColumnId = new DataGridViewTextBoxColumn();
|
|
|
|
|
ColumnName = new DataGridViewTextBoxColumn();
|
|
|
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
2024-05-16 21:59:54 +04:00
|
|
|
|
buttonSave = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
|
|
|
|
textBoxMax = new Label();
|
|
|
|
|
textBoxMaximum = new TextBox();
|
2024-04-18 23:41:30 +04:00
|
|
|
|
groupBoxReinforceds.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// labelName
|
|
|
|
|
//
|
|
|
|
|
labelName.AutoSize = true;
|
|
|
|
|
labelName.Location = new Point(16, 13);
|
|
|
|
|
labelName.Margin = new Padding(5, 0, 5, 0);
|
|
|
|
|
labelName.Name = "labelName";
|
|
|
|
|
labelName.Size = new Size(84, 20);
|
|
|
|
|
labelName.TabIndex = 1;
|
|
|
|
|
labelName.Text = "Название :";
|
|
|
|
|
//
|
|
|
|
|
// textBoxName
|
|
|
|
|
//
|
|
|
|
|
textBoxName.Location = new Point(105, 9);
|
|
|
|
|
textBoxName.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
textBoxName.Name = "textBoxName";
|
2024-05-16 21:59:54 +04:00
|
|
|
|
textBoxName.Size = new Size(302, 27);
|
2024-04-18 23:41:30 +04:00
|
|
|
|
textBoxName.TabIndex = 2;
|
|
|
|
|
//
|
|
|
|
|
// labelAddress
|
|
|
|
|
//
|
|
|
|
|
labelAddress.AutoSize = true;
|
|
|
|
|
labelAddress.Location = new Point(16, 53);
|
|
|
|
|
labelAddress.Margin = new Padding(5, 0, 5, 0);
|
|
|
|
|
labelAddress.Name = "labelAddress";
|
|
|
|
|
labelAddress.Size = new Size(58, 20);
|
|
|
|
|
labelAddress.TabIndex = 3;
|
|
|
|
|
labelAddress.Text = "Адрес :";
|
|
|
|
|
//
|
|
|
|
|
// textBoxAddress
|
|
|
|
|
//
|
|
|
|
|
textBoxAddress.Location = new Point(105, 49);
|
|
|
|
|
textBoxAddress.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
textBoxAddress.Name = "textBoxAddress";
|
2024-05-16 21:59:54 +04:00
|
|
|
|
textBoxAddress.Size = new Size(302, 27);
|
2024-04-18 23:41:30 +04:00
|
|
|
|
textBoxAddress.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// dateTimePicker
|
|
|
|
|
//
|
|
|
|
|
dateTimePicker.Location = new Point(144, 88);
|
|
|
|
|
dateTimePicker.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
dateTimePicker.Name = "dateTimePicker";
|
2024-05-16 21:59:54 +04:00
|
|
|
|
dateTimePicker.Size = new Size(263, 27);
|
2024-04-18 23:41:30 +04:00
|
|
|
|
dateTimePicker.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// labelOpeningDate
|
|
|
|
|
//
|
|
|
|
|
labelOpeningDate.AutoSize = true;
|
|
|
|
|
labelOpeningDate.Location = new Point(16, 92);
|
|
|
|
|
labelOpeningDate.Margin = new Padding(5, 0, 5, 0);
|
|
|
|
|
labelOpeningDate.Name = "labelOpeningDate";
|
|
|
|
|
labelOpeningDate.Size = new Size(117, 20);
|
|
|
|
|
labelOpeningDate.TabIndex = 6;
|
|
|
|
|
labelOpeningDate.Text = "Дата открытия :";
|
|
|
|
|
//
|
|
|
|
|
// groupBoxReinforceds
|
|
|
|
|
//
|
|
|
|
|
groupBoxReinforceds.Controls.Add(dataGridView);
|
2024-05-16 21:59:54 +04:00
|
|
|
|
groupBoxReinforceds.Location = new Point(5, 183);
|
2024-04-18 23:41:30 +04:00
|
|
|
|
groupBoxReinforceds.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
groupBoxReinforceds.Name = "groupBoxReinforceds";
|
|
|
|
|
groupBoxReinforceds.Padding = new Padding(5, 4, 5, 4);
|
2024-05-16 21:59:54 +04:00
|
|
|
|
groupBoxReinforceds.Size = new Size(536, 395);
|
2024-04-18 23:41:30 +04:00
|
|
|
|
groupBoxReinforceds.TabIndex = 7;
|
|
|
|
|
groupBoxReinforceds.TabStop = false;
|
|
|
|
|
groupBoxReinforceds.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(5, 24);
|
|
|
|
|
dataGridView.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
2024-05-16 21:59:54 +04:00
|
|
|
|
dataGridView.Size = new Size(522, 367);
|
2024-04-18 23:41:30 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// ColumnId
|
|
|
|
|
//
|
|
|
|
|
ColumnId.HeaderText = "Id";
|
|
|
|
|
ColumnId.MinimumWidth = 6;
|
|
|
|
|
ColumnId.Name = "ColumnId";
|
|
|
|
|
ColumnId.ReadOnly = true;
|
|
|
|
|
ColumnId.Visible = false;
|
|
|
|
|
ColumnId.Width = 125;
|
|
|
|
|
//
|
|
|
|
|
// ColumnName
|
|
|
|
|
//
|
|
|
|
|
ColumnName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
|
|
|
ColumnName.HeaderText = "Название изделия";
|
|
|
|
|
ColumnName.MinimumWidth = 6;
|
|
|
|
|
ColumnName.Name = "ColumnName";
|
|
|
|
|
ColumnName.ReadOnly = true;
|
|
|
|
|
//
|
|
|
|
|
// ColumnCount
|
|
|
|
|
//
|
|
|
|
|
ColumnCount.HeaderText = "Количество";
|
|
|
|
|
ColumnCount.MinimumWidth = 6;
|
|
|
|
|
ColumnCount.Name = "ColumnCount";
|
|
|
|
|
ColumnCount.ReadOnly = true;
|
|
|
|
|
ColumnCount.Width = 125;
|
|
|
|
|
//
|
2024-05-16 21:59:54 +04:00
|
|
|
|
// buttonSave
|
|
|
|
|
//
|
|
|
|
|
buttonSave.Location = new Point(306, 586);
|
|
|
|
|
buttonSave.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonSave.Name = "buttonSave";
|
|
|
|
|
buttonSave.Size = new Size(101, 36);
|
|
|
|
|
buttonSave.TabIndex = 8;
|
|
|
|
|
buttonSave.Text = "Сохранить";
|
|
|
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSave.Click += ButtonSave_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
|
|
|
|
buttonCancel.Location = new Point(417, 586);
|
|
|
|
|
buttonCancel.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(101, 36);
|
|
|
|
|
buttonCancel.TabIndex = 9;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
|
|
|
//
|
|
|
|
|
// textBoxMax
|
|
|
|
|
//
|
|
|
|
|
textBoxMax.AutoSize = true;
|
|
|
|
|
textBoxMax.Location = new Point(16, 141);
|
|
|
|
|
textBoxMax.Name = "textBoxMax";
|
|
|
|
|
textBoxMax.Size = new Size(270, 20);
|
|
|
|
|
textBoxMax.TabIndex = 10;
|
|
|
|
|
textBoxMax.Text = "Максимальное колличество изделий:";
|
|
|
|
|
//
|
|
|
|
|
// textBoxMaximum
|
|
|
|
|
//
|
|
|
|
|
textBoxMaximum.Location = new Point(306, 138);
|
|
|
|
|
textBoxMaximum.Name = "textBoxMaximum";
|
|
|
|
|
textBoxMaximum.Size = new Size(101, 27);
|
|
|
|
|
textBoxMaximum.TabIndex = 11;
|
|
|
|
|
//
|
2024-04-18 23:41:30 +04:00
|
|
|
|
// FormShop
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-05-16 21:59:54 +04:00
|
|
|
|
ClientSize = new Size(546, 635);
|
|
|
|
|
Controls.Add(textBoxMaximum);
|
|
|
|
|
Controls.Add(textBoxMax);
|
2024-04-18 23:41:30 +04:00
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonSave);
|
|
|
|
|
Controls.Add(groupBoxReinforceds);
|
|
|
|
|
Controls.Add(labelOpeningDate);
|
|
|
|
|
Controls.Add(dateTimePicker);
|
|
|
|
|
Controls.Add(textBoxAddress);
|
|
|
|
|
Controls.Add(labelAddress);
|
|
|
|
|
Controls.Add(textBoxName);
|
|
|
|
|
Controls.Add(labelName);
|
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
Name = "FormShop";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Магазин";
|
|
|
|
|
Load += FormShop_Load;
|
|
|
|
|
groupBoxReinforceds.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 groupBoxReinforceds;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonSave;
|
|
|
|
|
private Button buttonCancel;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnId;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnName;
|
|
|
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
2024-05-16 21:59:54 +04:00
|
|
|
|
private Label textBoxMax;
|
|
|
|
|
private TextBox textBoxMaximum;
|
2024-04-18 23:41:30 +04:00
|
|
|
|
}
|
|
|
|
|
}
|