224 lines
8.1 KiB
C#
224 lines
8.1 KiB
C#
|
namespace RenovationWorkView
|
|||
|
{
|
|||
|
partial class FormRepair
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
labelPrice = new Label();
|
|||
|
textBoxName = new TextBox();
|
|||
|
textBoxPrice = new TextBox();
|
|||
|
groupBox = new GroupBox();
|
|||
|
buttonRef = new Button();
|
|||
|
buttonDel = new Button();
|
|||
|
buttonUpd = new Button();
|
|||
|
buttonAdd = new Button();
|
|||
|
dataGridView = new DataGridView();
|
|||
|
ID = new DataGridViewTextBoxColumn();
|
|||
|
ComponentT = new DataGridViewTextBoxColumn();
|
|||
|
CountT = new DataGridViewTextBoxColumn();
|
|||
|
buttonSave = new Button();
|
|||
|
buttonCancel = new Button();
|
|||
|
groupBox.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
labelName.AutoSize = true;
|
|||
|
labelName.Location = new Point(4, 12);
|
|||
|
labelName.Name = "labelName";
|
|||
|
labelName.Size = new Size(62, 15);
|
|||
|
labelName.TabIndex = 0;
|
|||
|
labelName.Text = "Название:";
|
|||
|
//
|
|||
|
// labelPrice
|
|||
|
//
|
|||
|
labelPrice.AutoSize = true;
|
|||
|
labelPrice.Location = new Point(4, 43);
|
|||
|
labelPrice.Name = "labelPrice";
|
|||
|
labelPrice.Size = new Size(70, 15);
|
|||
|
labelPrice.TabIndex = 1;
|
|||
|
labelPrice.Text = "Стоимость:";
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(88, 12);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(334, 23);
|
|||
|
textBoxName.TabIndex = 2;
|
|||
|
//
|
|||
|
// textBoxPrice
|
|||
|
//
|
|||
|
textBoxPrice.Location = new Point(88, 43);
|
|||
|
textBoxPrice.Name = "textBoxPrice";
|
|||
|
textBoxPrice.Size = new Size(334, 23);
|
|||
|
textBoxPrice.TabIndex = 3;
|
|||
|
//
|
|||
|
// groupBox
|
|||
|
//
|
|||
|
groupBox.Controls.Add(buttonRef);
|
|||
|
groupBox.Controls.Add(buttonDel);
|
|||
|
groupBox.Controls.Add(buttonUpd);
|
|||
|
groupBox.Controls.Add(buttonAdd);
|
|||
|
groupBox.Controls.Add(dataGridView);
|
|||
|
groupBox.Location = new Point(12, 87);
|
|||
|
groupBox.Name = "groupBox";
|
|||
|
groupBox.Size = new Size(763, 351);
|
|||
|
groupBox.TabIndex = 5;
|
|||
|
groupBox.TabStop = false;
|
|||
|
groupBox.Text = "Компоненты";
|
|||
|
//
|
|||
|
// buttonRef
|
|||
|
//
|
|||
|
buttonRef.Location = new Point(656, 121);
|
|||
|
buttonRef.Name = "buttonRef";
|
|||
|
buttonRef.Size = new Size(99, 23);
|
|||
|
buttonRef.TabIndex = 4;
|
|||
|
buttonRef.Text = "Обновить";
|
|||
|
buttonRef.UseVisualStyleBackColor = true;
|
|||
|
buttonRef.Click += buttonRef_Click;
|
|||
|
//
|
|||
|
// buttonDel
|
|||
|
//
|
|||
|
buttonDel.Location = new Point(656, 92);
|
|||
|
buttonDel.Name = "buttonDel";
|
|||
|
buttonDel.Size = new Size(99, 23);
|
|||
|
buttonDel.TabIndex = 3;
|
|||
|
buttonDel.Text = "Удалить";
|
|||
|
buttonDel.UseVisualStyleBackColor = true;
|
|||
|
buttonDel.Click += buttonDel_Click;
|
|||
|
//
|
|||
|
// buttonUpd
|
|||
|
//
|
|||
|
buttonUpd.Location = new Point(656, 63);
|
|||
|
buttonUpd.Name = "buttonUpd";
|
|||
|
buttonUpd.Size = new Size(99, 23);
|
|||
|
buttonUpd.TabIndex = 2;
|
|||
|
buttonUpd.Text = "Изменить";
|
|||
|
buttonUpd.UseVisualStyleBackColor = true;
|
|||
|
buttonUpd.Click += buttonUpd_Click;
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(656, 34);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(99, 23);
|
|||
|
buttonAdd.TabIndex = 1;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += buttonAdd_Click;
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ID, ComponentT, CountT });
|
|||
|
dataGridView.Location = new Point(6, 22);
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.RowTemplate.Height = 25;
|
|||
|
dataGridView.Size = new Size(644, 323);
|
|||
|
dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// ID
|
|||
|
//
|
|||
|
ID.HeaderText = "id";
|
|||
|
ID.Name = "ID";
|
|||
|
ID.Visible = false;
|
|||
|
//
|
|||
|
// ComponentT
|
|||
|
//
|
|||
|
ComponentT.HeaderText = "Компонент";
|
|||
|
ComponentT.Name = "ComponentT";
|
|||
|
ComponentT.Width = 300;
|
|||
|
//
|
|||
|
// CountT
|
|||
|
//
|
|||
|
CountT.HeaderText = "Количество";
|
|||
|
CountT.Name = "CountT";
|
|||
|
CountT.Width = 300;
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
buttonSave.Location = new Point(599, 451);
|
|||
|
buttonSave.Name = "buttonSave";
|
|||
|
buttonSave.Size = new Size(75, 23);
|
|||
|
buttonSave.TabIndex = 5;
|
|||
|
buttonSave.Text = "Сохранить";
|
|||
|
buttonSave.UseVisualStyleBackColor = true;
|
|||
|
buttonSave.Click += buttonSave_Click;
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
buttonCancel.Location = new Point(692, 451);
|
|||
|
buttonCancel.Name = "buttonCancel";
|
|||
|
buttonCancel.Size = new Size(75, 23);
|
|||
|
buttonCancel.TabIndex = 6;
|
|||
|
buttonCancel.Text = "Отмена";
|
|||
|
buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
buttonCancel.Click += buttonCancel_Click;
|
|||
|
//
|
|||
|
// FormRepair
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(783, 486);
|
|||
|
Controls.Add(buttonSave);
|
|||
|
Controls.Add(buttonCancel);
|
|||
|
Controls.Add(groupBox);
|
|||
|
Controls.Add(textBoxPrice);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Controls.Add(labelPrice);
|
|||
|
Controls.Add(labelName);
|
|||
|
Name = "FormRepair";
|
|||
|
Text = "Работа";
|
|||
|
Load += FormRepair_Load;
|
|||
|
groupBox.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Label labelName;
|
|||
|
private Label labelPrice;
|
|||
|
private TextBox textBoxName;
|
|||
|
private TextBox textBoxPrice;
|
|||
|
private GroupBox groupBox;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button buttonAdd;
|
|||
|
private DataGridViewTextBoxColumn ID;
|
|||
|
private DataGridViewTextBoxColumn ComponentT;
|
|||
|
private DataGridViewTextBoxColumn CountT;
|
|||
|
private Button buttonRef;
|
|||
|
private Button buttonDel;
|
|||
|
private Button buttonUpd;
|
|||
|
private Button buttonSave;
|
|||
|
private Button buttonCancel;
|
|||
|
}
|
|||
|
}
|