2024-02-28 10:45:27 +04:00

241 lines
9.0 KiB
C#

namespace PlumbingRepairView
{
partial class FormWork
{
/// <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()
{
label1 = new Label();
label2 = new Label();
groupBox1 = new GroupBox();
buttonRef = new Button();
buttonDel = new Button();
buttonUpd = new Button();
buttonAdd = new Button();
dataGridView = new DataGridView();
ComponentId = new DataGridViewTextBoxColumn();
ComponentName = new DataGridViewTextBoxColumn();
Count = new DataGridViewTextBoxColumn();
textBoxName = new TextBox();
textBoxCost = new TextBox();
buttonCancel = new Button();
buttonSave = new Button();
groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
SuspendLayout();
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(40, 12);
label1.Margin = new Padding(4, 0, 4, 0);
label1.Name = "label1";
label1.Size = new Size(94, 25);
label1.TabIndex = 0;
label1.Text = "Название:";
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(40, 61);
label2.Margin = new Padding(4, 0, 4, 0);
label2.Name = "label2";
label2.Size = new Size(103, 25);
label2.TabIndex = 1;
label2.Text = "Стоимость:";
//
// groupBox1
//
groupBox1.Controls.Add(buttonRef);
groupBox1.Controls.Add(buttonDel);
groupBox1.Controls.Add(buttonUpd);
groupBox1.Controls.Add(buttonAdd);
groupBox1.Controls.Add(dataGridView);
groupBox1.Location = new Point(40, 108);
groupBox1.Margin = new Padding(4, 4, 4, 4);
groupBox1.Name = "groupBox1";
groupBox1.Padding = new Padding(4, 4, 4, 4);
groupBox1.Size = new Size(945, 384);
groupBox1.TabIndex = 2;
groupBox1.TabStop = false;
groupBox1.Text = "Компоненты";
//
// buttonRef
//
buttonRef.Location = new Point(752, 258);
buttonRef.Margin = new Padding(4, 4, 4, 4);
buttonRef.Name = "buttonRef";
buttonRef.Size = new Size(118, 36);
buttonRef.TabIndex = 4;
buttonRef.Text = "Обновить";
buttonRef.UseVisualStyleBackColor = true;
buttonRef.Click += UpdateButton_Click;
//
// buttonDel
//
buttonDel.Location = new Point(752, 190);
buttonDel.Margin = new Padding(4, 4, 4, 4);
buttonDel.Name = "buttonDel";
buttonDel.Size = new Size(118, 36);
buttonDel.TabIndex = 3;
buttonDel.Text = "Удалить";
buttonDel.UseVisualStyleBackColor = true;
buttonDel.Click += DeleteButton_Click;
//
// buttonUpd
//
buttonUpd.Location = new Point(752, 122);
buttonUpd.Margin = new Padding(4, 4, 4, 4);
buttonUpd.Name = "buttonUpd";
buttonUpd.Size = new Size(118, 36);
buttonUpd.TabIndex = 2;
buttonUpd.Text = "Изменить";
buttonUpd.UseVisualStyleBackColor = true;
buttonUpd.Click += ChangeButton_Click;
//
// buttonAdd
//
buttonAdd.Location = new Point(752, 55);
buttonAdd.Margin = new Padding(4, 4, 4, 4);
buttonAdd.Name = "buttonAdd";
buttonAdd.Size = new Size(118, 36);
buttonAdd.TabIndex = 1;
buttonAdd.Text = "Добавить";
buttonAdd.UseVisualStyleBackColor = true;
buttonAdd.Click += AddButton_Click;
//
// dataGridView
//
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ComponentId, ComponentName, Count });
dataGridView.Location = new Point(0, 32);
dataGridView.Margin = new Padding(4, 4, 4, 4);
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 29;
dataGridView.Size = new Size(668, 344);
dataGridView.TabIndex = 0;
//
// ComponentId
//
ComponentId.HeaderText = "Id";
ComponentId.MinimumWidth = 6;
ComponentId.Name = "ComponentId";
ComponentId.Visible = false;
ComponentId.Width = 125;
//
// ComponentName
//
ComponentName.HeaderText = "Компонент";
ComponentName.MinimumWidth = 6;
ComponentName.Name = "ComponentName";
ComponentName.Width = 355;
//
// Count
//
Count.HeaderText = "Количество";
Count.MinimumWidth = 6;
Count.Name = "Count";
Count.Width = 125;
//
// textBoxName
//
textBoxName.Location = new Point(188, 12);
textBoxName.Margin = new Padding(4, 4, 4, 4);
textBoxName.Name = "textBoxName";
textBoxName.Size = new Size(373, 31);
textBoxName.TabIndex = 3;
//
// textBoxCost
//
textBoxCost.Location = new Point(188, 61);
textBoxCost.Margin = new Padding(4, 4, 4, 4);
textBoxCost.Name = "textBoxCost";
textBoxCost.Size = new Size(256, 31);
textBoxCost.TabIndex = 4;
//
// buttonCancel
//
buttonCancel.Location = new Point(857, 511);
buttonCancel.Margin = new Padding(4, 4, 4, 4);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new Size(118, 36);
buttonCancel.TabIndex = 5;
buttonCancel.Text = "Отменить";
buttonCancel.UseVisualStyleBackColor = true;
buttonCancel.Click += ButtonCancel_Click;
//
// buttonSave
//
buttonSave.Location = new Point(731, 511);
buttonSave.Margin = new Padding(4, 4, 4, 4);
buttonSave.Name = "buttonSave";
buttonSave.Size = new Size(118, 36);
buttonSave.TabIndex = 6;
buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true;
buttonSave.Click += SaveButton_Click;
//
// FormWork
//
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1000, 562);
Controls.Add(buttonSave);
Controls.Add(buttonCancel);
Controls.Add(textBoxCost);
Controls.Add(textBoxName);
Controls.Add(groupBox1);
Controls.Add(label2);
Controls.Add(label1);
Margin = new Padding(4, 4, 4, 4);
Name = "FormWork";
Text = "Работа";
groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private Label label1;
private Label label2;
private GroupBox groupBox1;
private DataGridView dataGridView;
private TextBox textBoxName;
private TextBox textBoxCost;
private Button buttonRef;
private Button buttonDel;
private Button buttonUpd;
private Button buttonAdd;
private Button buttonCancel;
private Button buttonSave;
private DataGridViewTextBoxColumn ComponentId;
private DataGridViewTextBoxColumn ComponentName;
private DataGridViewTextBoxColumn Count;
}
}