256 lines
12 KiB
C#
256 lines
12 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.textBoxPrice = new System.Windows.Forms.TextBox();
|
|
this.labelPrice = new System.Windows.Forms.Label();
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
this.labelName = new System.Windows.Forms.Label();
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
this.groupBoxComponents = 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.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.ColumnId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.groupBoxComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
this.textBoxPrice.Enabled = false;
|
|
this.textBoxPrice.Location = new System.Drawing.Point(126, 64);
|
|
this.textBoxPrice.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
this.textBoxPrice.Size = new System.Drawing.Size(208, 31);
|
|
this.textBoxPrice.TabIndex = 10;
|
|
//
|
|
// labelPrice
|
|
//
|
|
this.labelPrice.AutoSize = true;
|
|
this.labelPrice.Location = new System.Drawing.Point(15, 69);
|
|
this.labelPrice.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.labelPrice.Name = "labelPrice";
|
|
this.labelPrice.Size = new System.Drawing.Size(103, 25);
|
|
this.labelPrice.TabIndex = 9;
|
|
this.labelPrice.Text = "Стоимость:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(126, 14);
|
|
this.textBoxName.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(358, 31);
|
|
this.textBoxName.TabIndex = 8;
|
|
//
|
|
// labelName
|
|
//
|
|
this.labelName.AutoSize = true;
|
|
this.labelName.Location = new System.Drawing.Point(15, 19);
|
|
this.labelName.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
|
this.labelName.Name = "labelName";
|
|
this.labelName.Size = new System.Drawing.Size(94, 25);
|
|
this.labelName.TabIndex = 7;
|
|
this.labelName.Text = "Название:";
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(630, 53);
|
|
this.buttonAdd.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(126, 45);
|
|
this.buttonAdd.TabIndex = 1;
|
|
this.buttonAdd.Text = "Добавить";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|
//
|
|
// groupBoxComponents
|
|
//
|
|
this.groupBoxComponents.Controls.Add(this.buttonRef);
|
|
this.groupBoxComponents.Controls.Add(this.buttonDel);
|
|
this.groupBoxComponents.Controls.Add(this.buttonUpd);
|
|
this.groupBoxComponents.Controls.Add(this.buttonAdd);
|
|
this.groupBoxComponents.Controls.Add(this.dataGridView);
|
|
this.groupBoxComponents.Location = new System.Drawing.Point(15, 114);
|
|
this.groupBoxComponents.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.groupBoxComponents.Name = "groupBoxComponents";
|
|
this.groupBoxComponents.Padding = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.groupBoxComponents.Size = new System.Drawing.Size(797, 480);
|
|
this.groupBoxComponents.TabIndex = 11;
|
|
this.groupBoxComponents.TabStop = false;
|
|
this.groupBoxComponents.Text = "Компоненты";
|
|
//
|
|
// buttonRef
|
|
//
|
|
this.buttonRef.Location = new System.Drawing.Point(630, 285);
|
|
this.buttonRef.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.buttonRef.Name = "buttonRef";
|
|
this.buttonRef.Size = new System.Drawing.Size(126, 45);
|
|
this.buttonRef.TabIndex = 4;
|
|
this.buttonRef.Text = "Обновить";
|
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|
this.buttonRef.Click += new System.EventHandler(this.ButtonRef_Click);
|
|
//
|
|
// buttonDel
|
|
//
|
|
this.buttonDel.Location = new System.Drawing.Point(630, 205);
|
|
this.buttonDel.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.buttonDel.Name = "buttonDel";
|
|
this.buttonDel.Size = new System.Drawing.Size(126, 45);
|
|
this.buttonDel.TabIndex = 3;
|
|
this.buttonDel.Text = "Удалить";
|
|
this.buttonDel.UseVisualStyleBackColor = true;
|
|
this.buttonDel.Click += new System.EventHandler(this.ButtonDel_Click);
|
|
//
|
|
// buttonUpd
|
|
//
|
|
this.buttonUpd.Location = new System.Drawing.Point(630, 127);
|
|
this.buttonUpd.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.buttonUpd.Name = "buttonUpd";
|
|
this.buttonUpd.Size = new System.Drawing.Size(126, 45);
|
|
this.buttonUpd.TabIndex = 2;
|
|
this.buttonUpd.Text = "Изменить";
|
|
this.buttonUpd.UseVisualStyleBackColor = true;
|
|
this.buttonUpd.Click += new System.EventHandler(this.ButtonUpd_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.AllowUserToAddRows = false;
|
|
this.dataGridView.AllowUserToDeleteRows = false;
|
|
this.dataGridView.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ColumnId,
|
|
this.ColumnName,
|
|
this.ColumnCount});
|
|
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 29);
|
|
this.dataGridView.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.dataGridView.MultiSelect = false;
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.ReadOnly = true;
|
|
this.dataGridView.RowHeadersVisible = false;
|
|
this.dataGridView.RowHeadersWidth = 62;
|
|
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dataGridView.Size = new System.Drawing.Size(583, 446);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnId
|
|
//
|
|
this.ColumnId.HeaderText = "Id";
|
|
this.ColumnId.MinimumWidth = 8;
|
|
this.ColumnId.Name = "ColumnId";
|
|
this.ColumnId.ReadOnly = true;
|
|
this.ColumnId.Visible = false;
|
|
this.ColumnId.Width = 150;
|
|
//
|
|
// ColumnName
|
|
//
|
|
this.ColumnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ColumnName.HeaderText = "Компонент";
|
|
this.ColumnName.MinimumWidth = 8;
|
|
this.ColumnName.Name = "ColumnName";
|
|
this.ColumnName.ReadOnly = true;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
this.ColumnCount.HeaderText = "Количество";
|
|
this.ColumnCount.MinimumWidth = 8;
|
|
this.ColumnCount.Name = "ColumnCount";
|
|
this.ColumnCount.ReadOnly = true;
|
|
this.ColumnCount.Width = 150;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(645, 605);
|
|
this.buttonCancel.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(126, 45);
|
|
this.buttonCancel.TabIndex = 13;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(509, 605);
|
|
this.buttonSave.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(126, 45);
|
|
this.buttonSave.TabIndex = 12;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|
//
|
|
// FormWork
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 25F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 656);
|
|
this.Controls.Add(this.textBoxPrice);
|
|
this.Controls.Add(this.labelPrice);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Controls.Add(this.labelName);
|
|
this.Controls.Add(this.groupBoxComponents);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Name = "FormWork";
|
|
this.Text = "Работа";
|
|
this.Load += new System.EventHandler(this.FormWork_Load);
|
|
this.groupBoxComponents.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox textBoxPrice;
|
|
private Label labelPrice;
|
|
private TextBox textBoxName;
|
|
private Label labelName;
|
|
private Button buttonAdd;
|
|
private GroupBox groupBoxComponents;
|
|
private Button buttonRef;
|
|
private Button buttonDel;
|
|
private Button buttonUpd;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn ColumnId;
|
|
private DataGridViewTextBoxColumn ColumnName;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
}
|
|
} |