99 lines
3.4 KiB
C#
99 lines
3.4 KiB
C#
|
namespace MotorPlantView
|
|||
|
{
|
|||
|
partial class FormComponent
|
|||
|
{
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
buttonSave = new Button();
|
|||
|
labelName = new Label();
|
|||
|
textBoxName = new TextBox();
|
|||
|
labelCost = new Label();
|
|||
|
textBoxCost = new TextBox();
|
|||
|
buttonCancel = new Button();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Location = new Point(158, 76);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(87, 23);
|
|||
|
buttonSave.TabIndex = 0;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += ButtonSave_Click;
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
labelName.AutoSize = true;
|
|||
|
labelName.Location = new Point(12, 22);
|
|||
|
labelName.Name = "labelName";
|
|||
|
labelName.Size = new Size(66, 15);
|
|||
|
labelName.TabIndex = 1;
|
|||
|
labelName.Text = "Название:";
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(82, 19);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(247, 23);
|
|||
|
textBoxName.TabIndex = 2;
|
|||
|
//
|
|||
|
// labelCost
|
|||
|
//
|
|||
|
labelCost.AutoSize = true;
|
|||
|
labelCost.Location = new Point(12, 50);
|
|||
|
labelCost.Name = "labelCost";
|
|||
|
labelCost.Size = new Size(40, 15);
|
|||
|
labelCost.TabIndex = 3;
|
|||
|
labelCost.Text = "Цена:";
|
|||
|
//
|
|||
|
// textBoxCost
|
|||
|
//
|
|||
|
textBoxCost.Location = new Point(82, 47);
|
|||
|
textBoxCost.Name = "textBoxCost";
|
|||
|
textBoxCost.Size = new Size(128, 23);
|
|||
|
textBoxCost.TabIndex = 4;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(254, 76);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(75, 23);
|
|||
|
buttonCancel.TabIndex = 5;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
buttonCancel.Click += ButtonCancel_Click;
|
|||
|
//
|
|||
|
// FormComponent
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(341, 107);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(textBoxCost);
|
|||
|
Controls.Add(labelCost);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Controls.Add(labelName);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Name = "FormComponent";
|
|||
|
Text = "Компонент";
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
private Button buttonSave;
|
|||
|
private Label labelName;
|
|||
|
private TextBox textBoxName;
|
|||
|
private Label labelCost;
|
|||
|
private TextBox textBoxCost;
|
|||
|
private Button buttonCancel;
|
|||
|
}
|
|||
|
}
|