188 lines
7.1 KiB
C#
188 lines
7.1 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();
|
|||
|
textBoxName = new TextBox();
|
|||
|
labelAddress = new Label();
|
|||
|
textBoxAddress = new TextBox();
|
|||
|
dateTimePicker = new DateTimePicker();
|
|||
|
labelDateOpening = new Label();
|
|||
|
dataGridView = new DataGridView();
|
|||
|
ColumnID = new DataGridViewTextBoxColumn();
|
|||
|
ColumnPlaneName = new DataGridViewTextBoxColumn();
|
|||
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|||
|
buttonCancel = new Button();
|
|||
|
buttonSave = new Button();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
labelName.AutoSize = true;
|
|||
|
labelName.Location = new Point(12, 15);
|
|||
|
labelName.Name = "labelName";
|
|||
|
labelName.Size = new Size(62, 15);
|
|||
|
labelName.TabIndex = 0;
|
|||
|
labelName.Text = "Название:";
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(110, 12);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(200, 23);
|
|||
|
textBoxName.TabIndex = 1;
|
|||
|
//
|
|||
|
// labelAddress
|
|||
|
//
|
|||
|
labelAddress.AutoSize = true;
|
|||
|
labelAddress.Location = new Point(12, 44);
|
|||
|
labelAddress.Name = "labelAddress";
|
|||
|
labelAddress.Size = new Size(43, 15);
|
|||
|
labelAddress.TabIndex = 2;
|
|||
|
labelAddress.Text = "Адрес:";
|
|||
|
//
|
|||
|
// textBoxAddress
|
|||
|
//
|
|||
|
textBoxAddress.Location = new Point(110, 41);
|
|||
|
textBoxAddress.Name = "textBoxAddress";
|
|||
|
textBoxAddress.Size = new Size(200, 23);
|
|||
|
textBoxAddress.TabIndex = 3;
|
|||
|
//
|
|||
|
// dateTimePicker
|
|||
|
//
|
|||
|
dateTimePicker.Location = new Point(110, 70);
|
|||
|
dateTimePicker.Name = "dateTimePicker";
|
|||
|
dateTimePicker.Size = new Size(200, 23);
|
|||
|
dateTimePicker.TabIndex = 4;
|
|||
|
//
|
|||
|
// labelDateOpening
|
|||
|
//
|
|||
|
labelDateOpening.AutoSize = true;
|
|||
|
labelDateOpening.Location = new Point(12, 76);
|
|||
|
labelDateOpening.Name = "labelDateOpening";
|
|||
|
labelDateOpening.Size = new Size(90, 15);
|
|||
|
labelDateOpening.TabIndex = 5;
|
|||
|
labelDateOpening.Text = "Дата открытия:";
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.AllowUserToAddRows = false;
|
|||
|
dataGridView.AllowUserToDeleteRows = false;
|
|||
|
dataGridView.BackgroundColor = Color.White;
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnID, ColumnPlaneName, ColumnCount });
|
|||
|
dataGridView.GridColor = Color.White;
|
|||
|
dataGridView.Location = new Point(12, 99);
|
|||
|
dataGridView.MultiSelect = false;
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.ReadOnly = true;
|
|||
|
dataGridView.RowTemplate.Height = 25;
|
|||
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|||
|
dataGridView.Size = new Size(560, 321);
|
|||
|
dataGridView.TabIndex = 6;
|
|||
|
//
|
|||
|
// ColumnID
|
|||
|
//
|
|||
|
ColumnID.HeaderText = "ID";
|
|||
|
ColumnID.Name = "ColumnID";
|
|||
|
ColumnID.ReadOnly = true;
|
|||
|
ColumnID.Visible = false;
|
|||
|
//
|
|||
|
// ColumnPlaneName
|
|||
|
//
|
|||
|
ColumnPlaneName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|||
|
ColumnPlaneName.HeaderText = "Изделие";
|
|||
|
ColumnPlaneName.Name = "ColumnPlaneName";
|
|||
|
ColumnPlaneName.ReadOnly = true;
|
|||
|
//
|
|||
|
// ColumnCount
|
|||
|
//
|
|||
|
ColumnCount.HeaderText = "Количнство";
|
|||
|
ColumnCount.Name = "ColumnCount";
|
|||
|
ColumnCount.ReadOnly = true;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(497, 426);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(75, 23);
|
|||
|
buttonCancel.TabIndex = 7;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
buttonCancel.Click += buttonCancel_Click;
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Location = new Point(416, 426);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(75, 23);
|
|||
|
buttonSave.TabIndex = 8;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += buttonSave_Click;
|
|||
|
//
|
|||
|
// FormShop
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(584, 461);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Controls.Add(labelDateOpening);
|
|||
|
Controls.Add(dateTimePicker);
|
|||
|
Controls.Add(textBoxAddress);
|
|||
|
Controls.Add(labelAddress);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Controls.Add(labelName);
|
|||
|
Name = "FormShop";
|
|||
|
Text = "Магазин";
|
|||
|
Load += FormShop_Load;
|
|||
|
((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 labelDateOpening;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button buttonCancel;
|
|||
|
private Button buttonSave;
|
|||
|
private DataGridViewTextBoxColumn ColumnID;
|
|||
|
private DataGridViewTextBoxColumn ColumnPlaneName;
|
|||
|
private DataGridViewTextBoxColumn ColumnCount;
|
|||
|
}
|
|||
|
}
|