231 lines
9.8 KiB
C#
231 lines
9.8 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()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.buttonRef = new System.Windows.Forms.Button();
|
|
this.buttonDel = new System.Windows.Forms.Button();
|
|
this.buttonUpd = new System.Windows.Forms.Button();
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
this.textBoxCost = new System.Windows.Forms.TextBox();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.ComponentId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ComponentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(32, 10);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(80, 20);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Название:";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(32, 49);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(86, 20);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Стоимость:";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.buttonRef);
|
|
this.groupBox1.Controls.Add(this.buttonDel);
|
|
this.groupBox1.Controls.Add(this.buttonUpd);
|
|
this.groupBox1.Controls.Add(this.buttonAdd);
|
|
this.groupBox1.Controls.Add(this.dataGridView);
|
|
this.groupBox1.Location = new System.Drawing.Point(32, 86);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(756, 307);
|
|
this.groupBox1.TabIndex = 2;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Компоненты";
|
|
//
|
|
// buttonRef
|
|
//
|
|
this.buttonRef.Location = new System.Drawing.Point(602, 206);
|
|
this.buttonRef.Name = "buttonRef";
|
|
this.buttonRef.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonRef.TabIndex = 4;
|
|
this.buttonRef.Text = "Обновить";
|
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|
this.buttonRef.Click += new System.EventHandler(this.UpdateButton_Click);
|
|
//
|
|
// buttonDel
|
|
//
|
|
this.buttonDel.Location = new System.Drawing.Point(602, 152);
|
|
this.buttonDel.Name = "buttonDel";
|
|
this.buttonDel.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonDel.TabIndex = 3;
|
|
this.buttonDel.Text = "Удалить";
|
|
this.buttonDel.UseVisualStyleBackColor = true;
|
|
this.buttonDel.Click += new System.EventHandler(this.DeleteButton_Click);
|
|
//
|
|
// buttonUpd
|
|
//
|
|
this.buttonUpd.Location = new System.Drawing.Point(602, 98);
|
|
this.buttonUpd.Name = "buttonUpd";
|
|
this.buttonUpd.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonUpd.TabIndex = 2;
|
|
this.buttonUpd.Text = "Изменить";
|
|
this.buttonUpd.UseVisualStyleBackColor = true;
|
|
this.buttonUpd.Click += new System.EventHandler(this.ChangeButton_Click);
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(602, 44);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonAdd.TabIndex = 1;
|
|
this.buttonAdd.Text = "Добавить";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.AddButton_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ComponentId,
|
|
this.ComponentName,
|
|
this.Count});
|
|
this.dataGridView.Location = new System.Drawing.Point(0, 26);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowHeadersWidth = 51;
|
|
this.dataGridView.RowTemplate.Height = 29;
|
|
this.dataGridView.Size = new System.Drawing.Size(534, 275);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(150, 10);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(299, 27);
|
|
this.textBoxName.TabIndex = 3;
|
|
//
|
|
// textBoxCost
|
|
//
|
|
this.textBoxCost.Location = new System.Drawing.Point(150, 49);
|
|
this.textBoxCost.Name = "textBoxCost";
|
|
this.textBoxCost.Size = new System.Drawing.Size(206, 27);
|
|
this.textBoxCost.TabIndex = 4;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(634, 409);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonCancel.TabIndex = 5;
|
|
this.buttonCancel.Text = "Отменить";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(534, 409);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(94, 29);
|
|
this.buttonSave.TabIndex = 6;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.SaveButton_Click);
|
|
//
|
|
// ComponentId
|
|
//
|
|
this.ComponentId.HeaderText = "Id";
|
|
this.ComponentId.MinimumWidth = 6;
|
|
this.ComponentId.Name = "ComponentId";
|
|
this.ComponentId.Visible = false;
|
|
this.ComponentId.Width = 125;
|
|
//
|
|
// ComponentName
|
|
//
|
|
this.ComponentName.HeaderText = "Компонент";
|
|
this.ComponentName.MinimumWidth = 6;
|
|
this.ComponentName.Name = "ComponentName";
|
|
this.ComponentName.Width = 355;
|
|
//
|
|
// Count
|
|
//
|
|
this.Count.HeaderText = "Количество";
|
|
this.Count.MinimumWidth = 6;
|
|
this.Count.Name = "Count";
|
|
this.Count.Width = 125;
|
|
//
|
|
// FormWork
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.textBoxCost);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "FormWork";
|
|
this.Text = "Работа";
|
|
this.groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.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;
|
|
}
|
|
} |