220 lines
8.5 KiB
C#
220 lines
8.5 KiB
C#
namespace AircraftPlantView
|
|
{
|
|
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();
|
|
labelAddress = new Label();
|
|
labelDate = new Label();
|
|
textBoxName = new TextBox();
|
|
textBoxAddress = new TextBox();
|
|
dateTimePicker = new DateTimePicker();
|
|
dataGridViewShop = new DataGridView();
|
|
ColumnID = new DataGridViewTextBoxColumn();
|
|
ColumnPlane = new DataGridViewTextBoxColumn();
|
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
labelMaxPlanes = new Label();
|
|
numericUpDownMaxPlanes = new NumericUpDown();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewShop).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownMaxPlanes).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(14, 12);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(80, 20);
|
|
labelName.TabIndex = 0;
|
|
labelName.Text = "Название:";
|
|
//
|
|
// labelAddress
|
|
//
|
|
labelAddress.AutoSize = true;
|
|
labelAddress.Location = new Point(14, 52);
|
|
labelAddress.Name = "labelAddress";
|
|
labelAddress.Size = new Size(54, 20);
|
|
labelAddress.TabIndex = 1;
|
|
labelAddress.Text = "Адрес:";
|
|
//
|
|
// labelDate
|
|
//
|
|
labelDate.AutoSize = true;
|
|
labelDate.Location = new Point(14, 99);
|
|
labelDate.Name = "labelDate";
|
|
labelDate.Size = new Size(113, 20);
|
|
labelDate.TabIndex = 2;
|
|
labelDate.Text = "Дата открытия:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(133, 8);
|
|
textBoxName.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(228, 27);
|
|
textBoxName.TabIndex = 3;
|
|
//
|
|
// textBoxAddress
|
|
//
|
|
textBoxAddress.Location = new Point(133, 52);
|
|
textBoxAddress.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxAddress.Name = "textBoxAddress";
|
|
textBoxAddress.Size = new Size(228, 27);
|
|
textBoxAddress.TabIndex = 4;
|
|
//
|
|
// dateTimePicker
|
|
//
|
|
dateTimePicker.Location = new Point(133, 99);
|
|
dateTimePicker.Margin = new Padding(3, 4, 3, 4);
|
|
dateTimePicker.Name = "dateTimePicker";
|
|
dateTimePicker.Size = new Size(228, 27);
|
|
dateTimePicker.TabIndex = 5;
|
|
//
|
|
// dataGridViewShop
|
|
//
|
|
dataGridViewShop.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridViewShop.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewShop.Columns.AddRange(new DataGridViewColumn[] { ColumnID, ColumnPlane, ColumnCount });
|
|
dataGridViewShop.Location = new Point(30, 195);
|
|
dataGridViewShop.Margin = new Padding(3, 4, 3, 4);
|
|
dataGridViewShop.Name = "dataGridViewShop";
|
|
dataGridViewShop.RowHeadersWidth = 51;
|
|
dataGridViewShop.RowTemplate.Height = 25;
|
|
dataGridViewShop.Size = new Size(588, 433);
|
|
dataGridViewShop.TabIndex = 6;
|
|
//
|
|
// ColumnID
|
|
//
|
|
ColumnID.HeaderText = "ID";
|
|
ColumnID.MinimumWidth = 6;
|
|
ColumnID.Name = "ColumnID";
|
|
ColumnID.Visible = false;
|
|
//
|
|
// ColumnPlane
|
|
//
|
|
ColumnPlane.HeaderText = "Изделие";
|
|
ColumnPlane.MinimumWidth = 6;
|
|
ColumnPlane.Name = "ColumnPlane";
|
|
//
|
|
// ColumnCount
|
|
//
|
|
ColumnCount.HeaderText = "Количество";
|
|
ColumnCount.MinimumWidth = 6;
|
|
ColumnCount.Name = "ColumnCount";
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(399, 640);
|
|
buttonSave.Margin = new Padding(3, 4, 3, 4);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(99, 31);
|
|
buttonSave.TabIndex = 7;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(519, 640);
|
|
buttonCancel.Margin = new Padding(3, 4, 3, 4);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(99, 31);
|
|
buttonCancel.TabIndex = 8;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// labelMaxPlanes
|
|
//
|
|
labelMaxPlanes.AutoSize = true;
|
|
labelMaxPlanes.Location = new Point(14, 148);
|
|
labelMaxPlanes.Name = "labelMaxPlanes";
|
|
labelMaxPlanes.Size = new Size(103, 20);
|
|
labelMaxPlanes.TabIndex = 9;
|
|
labelMaxPlanes.Text = "Вместимость:";
|
|
//
|
|
// numericUpDownMaxPlanes
|
|
//
|
|
numericUpDownMaxPlanes.Location = new Point(133, 146);
|
|
numericUpDownMaxPlanes.Name = "numericUpDownMaxPlanes";
|
|
numericUpDownMaxPlanes.Size = new Size(228, 27);
|
|
numericUpDownMaxPlanes.TabIndex = 10;
|
|
//
|
|
// FormShop
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(645, 684);
|
|
Controls.Add(numericUpDownMaxPlanes);
|
|
Controls.Add(labelMaxPlanes);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(dataGridViewShop);
|
|
Controls.Add(dateTimePicker);
|
|
Controls.Add(textBoxAddress);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelDate);
|
|
Controls.Add(labelAddress);
|
|
Controls.Add(labelName);
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
Name = "FormShop";
|
|
Text = "Магазин";
|
|
Load += FormShop_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewShop).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownMaxPlanes).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxAddress;
|
|
private DateTimePicker dateTimePicker;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn Plane;
|
|
private DataGridViewTextBoxColumn Count;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private Label labelName;
|
|
private Label labelAddress;
|
|
private Label labelDate;
|
|
private DataGridView dataGridViewShops;
|
|
private DataGridViewTextBoxColumn ColumnID;
|
|
private DataGridViewTextBoxColumn ColumnPlane;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
private DataGridView dataGridViewShop;
|
|
private Label labelMaxPlanes;
|
|
private NumericUpDown numericUpDownMaxPlanes;
|
|
}
|
|
} |