243 lines
9.6 KiB
C#
243 lines
9.6 KiB
C#
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();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
textBoxMax = new Label();
|
|
textBoxMaximum = new TextBox();
|
|
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";
|
|
textBoxName.Size = new Size(302, 27);
|
|
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";
|
|
textBoxAddress.Size = new Size(302, 27);
|
|
textBoxAddress.TabIndex = 4;
|
|
//
|
|
// dateTimePicker
|
|
//
|
|
dateTimePicker.Location = new Point(144, 88);
|
|
dateTimePicker.Margin = new Padding(3, 4, 3, 4);
|
|
dateTimePicker.Name = "dateTimePicker";
|
|
dateTimePicker.Size = new Size(263, 27);
|
|
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);
|
|
groupBoxReinforceds.Location = new Point(5, 183);
|
|
groupBoxReinforceds.Margin = new Padding(5, 4, 5, 4);
|
|
groupBoxReinforceds.Name = "groupBoxReinforceds";
|
|
groupBoxReinforceds.Padding = new Padding(5, 4, 5, 4);
|
|
groupBoxReinforceds.Size = new Size(536, 395);
|
|
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;
|
|
dataGridView.Size = new Size(522, 367);
|
|
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;
|
|
//
|
|
// 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;
|
|
//
|
|
// FormShop
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(546, 635);
|
|
Controls.Add(textBoxMaximum);
|
|
Controls.Add(textBoxMax);
|
|
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;
|
|
private Label textBoxMax;
|
|
private TextBox textBoxMaximum;
|
|
}
|
|
} |