235 lines
9.0 KiB
C#
235 lines
9.0 KiB
C#
|
namespace AircraftPlantView
|
|||
|
{
|
|||
|
partial class FormPlane
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
buttonCancel = new Button();
|
|||
|
buttonSave = new Button();
|
|||
|
textBoxName = new TextBox();
|
|||
|
textBoxPrice = new TextBox();
|
|||
|
labelName = new Label();
|
|||
|
labelPrice = new Label();
|
|||
|
groupBoxComponents = new GroupBox();
|
|||
|
buttonRefresh = new Button();
|
|||
|
buttonDelete = new Button();
|
|||
|
buttonUpdate = new Button();
|
|||
|
buttonAdd = new Button();
|
|||
|
dataGridView = new DataGridView();
|
|||
|
ColumnId = new DataGridViewTextBoxColumn();
|
|||
|
ColumnName = new DataGridViewTextBoxColumn();
|
|||
|
ColumnCount = new DataGridViewTextBoxColumn();
|
|||
|
groupBoxComponents.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(497, 379);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(75, 23);
|
|||
|
buttonCancel.TabIndex = 0;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
buttonCancel.Click += buttonCancel_Click;
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Location = new Point(416, 376);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(75, 23);
|
|||
|
buttonSave.TabIndex = 1;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += buttonSave_Click;
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(90, 12);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(282, 23);
|
|||
|
textBoxName.TabIndex = 2;
|
|||
|
//
|
|||
|
// textBoxPrice
|
|||
|
//
|
|||
|
textBoxPrice.Enabled = false;
|
|||
|
textBoxPrice.Location = new Point(90, 44);
|
|||
|
textBoxPrice.Name = "textBoxPrice";
|
|||
|
textBoxPrice.Size = new Size(282, 23);
|
|||
|
textBoxPrice.TabIndex = 3;
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
labelName.AutoSize = true;
|
|||
|
labelName.Location = new Point(12, 15);
|
|||
|
labelName.Name = "labelName";
|
|||
|
labelName.Size = new Size(62, 15);
|
|||
|
labelName.TabIndex = 4;
|
|||
|
labelName.Text = "Название:";
|
|||
|
//
|
|||
|
// labelPrice
|
|||
|
//
|
|||
|
labelPrice.AutoSize = true;
|
|||
|
labelPrice.Location = new Point(12, 44);
|
|||
|
labelPrice.Name = "labelPrice";
|
|||
|
labelPrice.Size = new Size(70, 15);
|
|||
|
labelPrice.TabIndex = 5;
|
|||
|
labelPrice.Text = "Стоимость:";
|
|||
|
//
|
|||
|
// groupBoxComponents
|
|||
|
//
|
|||
|
groupBoxComponents.Controls.Add(buttonRefresh);
|
|||
|
groupBoxComponents.Controls.Add(buttonDelete);
|
|||
|
groupBoxComponents.Controls.Add(buttonUpdate);
|
|||
|
groupBoxComponents.Controls.Add(buttonAdd);
|
|||
|
groupBoxComponents.Controls.Add(dataGridView);
|
|||
|
groupBoxComponents.Location = new Point(12, 73);
|
|||
|
groupBoxComponents.Name = "groupBoxComponents";
|
|||
|
groupBoxComponents.Size = new Size(560, 300);
|
|||
|
groupBoxComponents.TabIndex = 6;
|
|||
|
groupBoxComponents.TabStop = false;
|
|||
|
groupBoxComponents.Text = "Компоненты";
|
|||
|
//
|
|||
|
// buttonRefresh
|
|||
|
//
|
|||
|
buttonRefresh.Location = new Point(450, 109);
|
|||
|
buttonRefresh.Name = "buttonRefresh";
|
|||
|
buttonRefresh.Size = new Size(75, 23);
|
|||
|
buttonRefresh.TabIndex = 4;
|
|||
|
buttonRefresh.Text = "Обновить";
|
|||
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|||
|
buttonRefresh.Click += buttonRefresh_Click;
|
|||
|
//
|
|||
|
// buttonDelete
|
|||
|
//
|
|||
|
buttonDelete.Location = new Point(450, 80);
|
|||
|
buttonDelete.Name = "buttonDelete";
|
|||
|
buttonDelete.Size = new Size(75, 23);
|
|||
|
buttonDelete.TabIndex = 3;
|
|||
|
buttonDelete.Text = "Удалить";
|
|||
|
buttonDelete.UseVisualStyleBackColor = true;
|
|||
|
buttonDelete.Click += buttonDelete_Click;
|
|||
|
//
|
|||
|
// buttonUpdate
|
|||
|
//
|
|||
|
buttonUpdate.Location = new Point(450, 51);
|
|||
|
buttonUpdate.Name = "buttonUpdate";
|
|||
|
buttonUpdate.Size = new Size(75, 23);
|
|||
|
buttonUpdate.TabIndex = 2;
|
|||
|
buttonUpdate.Text = "Изменить";
|
|||
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|||
|
buttonUpdate.Click += buttonUpdate_Click;
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(450, 22);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(75, 23);
|
|||
|
buttonAdd.TabIndex = 1;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += buttonAdd_Click;
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.AllowUserToAddRows = false;
|
|||
|
dataGridView.AllowUserToDeleteRows = false;
|
|||
|
dataGridView.BackgroundColor = Color.White;
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnName, ColumnCount });
|
|||
|
dataGridView.Dock = DockStyle.Left;
|
|||
|
dataGridView.GridColor = Color.White;
|
|||
|
dataGridView.Location = new Point(3, 19);
|
|||
|
dataGridView.MultiSelect = false;
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.ReadOnly = true;
|
|||
|
dataGridView.RowHeadersVisible = false;
|
|||
|
dataGridView.RowTemplate.Height = 25;
|
|||
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|||
|
dataGridView.Size = new Size(410, 278);
|
|||
|
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;
|
|||
|
//
|
|||
|
// FormPlane
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(584, 411);
|
|||
|
Controls.Add(groupBoxComponents);
|
|||
|
Controls.Add(labelPrice);
|
|||
|
Controls.Add(labelName);
|
|||
|
Controls.Add(textBoxPrice);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Name = "FormPlane";
|
|||
|
Text = "Изделия";
|
|||
|
Load += FormPlane_Load;
|
|||
|
groupBoxComponents.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Button buttonCancel;
|
|||
|
private Button buttonSave;
|
|||
|
private TextBox textBoxName;
|
|||
|
private TextBox textBoxPrice;
|
|||
|
private Label labelName;
|
|||
|
private Label labelPrice;
|
|||
|
private GroupBox groupBoxComponents;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button buttonAdd;
|
|||
|
private Button buttonRefresh;
|
|||
|
private Button buttonDelete;
|
|||
|
private Button buttonUpdate;
|
|||
|
private DataGridViewTextBoxColumn ColumnId;
|
|||
|
private DataGridViewTextBoxColumn ColumnName;
|
|||
|
private DataGridViewTextBoxColumn ColumnCount;
|
|||
|
}
|
|||
|
}
|