232 lines
8.6 KiB
C#
232 lines
8.6 KiB
C#
namespace PrecastConcretePlantView
|
|
{
|
|
partial class FormReinforced
|
|
{
|
|
/// <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();
|
|
labelPrice = new Label();
|
|
textBoxPrice = new TextBox();
|
|
groupBoxComponents = new GroupBox();
|
|
ButtonRef = new Button();
|
|
dataGridView = new DataGridView();
|
|
id = new DataGridViewTextBoxColumn();
|
|
Component = new DataGridViewTextBoxColumn();
|
|
Count = new DataGridViewTextBoxColumn();
|
|
ButtonDel = new Button();
|
|
ButtonAdd = new Button();
|
|
ButtonUpd = new Button();
|
|
buttonCancel = new Button();
|
|
buttonSave = new Button();
|
|
groupBoxComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(16, 15);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(84, 20);
|
|
labelName.TabIndex = 0;
|
|
labelName.Text = "Название: ";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(112, 12);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(281, 27);
|
|
textBoxName.TabIndex = 1;
|
|
//
|
|
// labelPrice
|
|
//
|
|
labelPrice.AutoSize = true;
|
|
labelPrice.Location = new Point(16, 51);
|
|
labelPrice.Name = "labelPrice";
|
|
labelPrice.Size = new Size(90, 20);
|
|
labelPrice.TabIndex = 2;
|
|
labelPrice.Text = "Стоимость: ";
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
textBoxPrice.Location = new Point(112, 51);
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
textBoxPrice.ReadOnly = true;
|
|
textBoxPrice.Size = new Size(154, 27);
|
|
textBoxPrice.TabIndex = 3;
|
|
//
|
|
// groupBoxComponents
|
|
//
|
|
groupBoxComponents.Controls.Add(ButtonRef);
|
|
groupBoxComponents.Controls.Add(dataGridView);
|
|
groupBoxComponents.Controls.Add(ButtonDel);
|
|
groupBoxComponents.Controls.Add(ButtonAdd);
|
|
groupBoxComponents.Controls.Add(ButtonUpd);
|
|
groupBoxComponents.Location = new Point(11, 84);
|
|
groupBoxComponents.Name = "groupBoxComponents";
|
|
groupBoxComponents.Size = new Size(669, 319);
|
|
groupBoxComponents.TabIndex = 4;
|
|
groupBoxComponents.TabStop = false;
|
|
groupBoxComponents.Text = "Компоненты";
|
|
//
|
|
// ButtonRef
|
|
//
|
|
ButtonRef.Location = new Point(487, 231);
|
|
ButtonRef.Name = "ButtonRef";
|
|
ButtonRef.Size = new Size(172, 62);
|
|
ButtonRef.TabIndex = 10;
|
|
ButtonRef.Text = "Обновить";
|
|
ButtonRef.UseVisualStyleBackColor = true;
|
|
ButtonRef.Click += ButtonRef_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { id, Component, Count });
|
|
dataGridView.Location = new Point(6, 27);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.Size = new Size(475, 287);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// id
|
|
//
|
|
id.HeaderText = "id";
|
|
id.MinimumWidth = 6;
|
|
id.Name = "id";
|
|
id.ReadOnly = true;
|
|
id.Visible = false;
|
|
//
|
|
// Component
|
|
//
|
|
Component.HeaderText = "Компонент";
|
|
Component.MinimumWidth = 6;
|
|
Component.Name = "Component";
|
|
Component.ReadOnly = true;
|
|
//
|
|
// Count
|
|
//
|
|
Count.HeaderText = "Количество";
|
|
Count.MinimumWidth = 6;
|
|
Count.Name = "Count";
|
|
Count.ReadOnly = true;
|
|
//
|
|
// ButtonDel
|
|
//
|
|
ButtonDel.Location = new Point(487, 163);
|
|
ButtonDel.Name = "ButtonDel";
|
|
ButtonDel.Size = new Size(172, 62);
|
|
ButtonDel.TabIndex = 9;
|
|
ButtonDel.Text = "Удалить";
|
|
ButtonDel.UseVisualStyleBackColor = true;
|
|
ButtonDel.Click += ButtonDel_Click;
|
|
//
|
|
// ButtonAdd
|
|
//
|
|
ButtonAdd.Location = new Point(487, 27);
|
|
ButtonAdd.Name = "ButtonAdd";
|
|
ButtonAdd.Size = new Size(172, 62);
|
|
ButtonAdd.TabIndex = 7;
|
|
ButtonAdd.Text = "Добавить";
|
|
ButtonAdd.UseVisualStyleBackColor = true;
|
|
ButtonAdd.Click += ButtonAdd_Click;
|
|
//
|
|
// ButtonUpd
|
|
//
|
|
ButtonUpd.Location = new Point(487, 95);
|
|
ButtonUpd.Name = "ButtonUpd";
|
|
ButtonUpd.Size = new Size(172, 62);
|
|
ButtonUpd.TabIndex = 8;
|
|
ButtonUpd.Text = "Изменить";
|
|
ButtonUpd.UseVisualStyleBackColor = true;
|
|
ButtonUpd.Click += ButtonUpd_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(544, 416);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(126, 35);
|
|
buttonCancel.TabIndex = 5;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(17, 416);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(126, 35);
|
|
buttonSave.TabIndex = 6;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// FormReinforced
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(690, 463);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(groupBoxComponents);
|
|
Controls.Add(textBoxPrice);
|
|
Controls.Add(labelPrice);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelName);
|
|
Name = "FormReinforced";
|
|
Text = "Изделие";
|
|
Load += FormReinforced_Load;
|
|
groupBoxComponents.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private TextBox textBoxName;
|
|
private Label labelPrice;
|
|
private TextBox textBoxPrice;
|
|
private GroupBox groupBoxComponents;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn Component;
|
|
private DataGridViewTextBoxColumn Count;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private DataGridViewTextBoxColumn id;
|
|
private Button ButtonRef;
|
|
private Button ButtonDel;
|
|
private Button ButtonAdd;
|
|
private Button ButtonUpd;
|
|
}
|
|
} |