227 lines
10 KiB
C#
227 lines
10 KiB
C#
namespace ComputersShop
|
|
{
|
|
partial class FormComputer
|
|
{
|
|
/// <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.labelName = new System.Windows.Forms.Label();
|
|
this.labelCost = new System.Windows.Forms.Label();
|
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|
this.textBoxCost = new System.Windows.Forms.TextBox();
|
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.ComponentId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ComponentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ComponentAmount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.groupBoxComponents = new System.Windows.Forms.GroupBox();
|
|
this.buttonRef = new System.Windows.Forms.Button();
|
|
this.buttonDelete = new System.Windows.Forms.Button();
|
|
this.buttonEdit = new System.Windows.Forms.Button();
|
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.groupBoxComponents.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
this.labelName.AutoSize = true;
|
|
this.labelName.Location = new System.Drawing.Point(12, 18);
|
|
this.labelName.Name = "labelName";
|
|
this.labelName.Size = new System.Drawing.Size(62, 15);
|
|
this.labelName.TabIndex = 0;
|
|
this.labelName.Text = "Название:";
|
|
//
|
|
// labelCost
|
|
//
|
|
this.labelCost.AutoSize = true;
|
|
this.labelCost.Location = new System.Drawing.Point(12, 49);
|
|
this.labelCost.Name = "labelCost";
|
|
this.labelCost.Size = new System.Drawing.Size(70, 15);
|
|
this.labelCost.TabIndex = 1;
|
|
this.labelCost.Text = "Стоимость:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(88, 15);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(306, 23);
|
|
this.textBoxName.TabIndex = 2;
|
|
//
|
|
// textBoxCost
|
|
//
|
|
this.textBoxCost.Location = new System.Drawing.Point(88, 49);
|
|
this.textBoxCost.Name = "textBoxCost";
|
|
this.textBoxCost.Size = new System.Drawing.Size(164, 23);
|
|
this.textBoxCost.TabIndex = 3;
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ComponentId,
|
|
this.ComponentName,
|
|
this.ComponentAmount});
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 22);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowTemplate.Height = 25;
|
|
this.dataGridView.Size = new System.Drawing.Size(575, 349);
|
|
this.dataGridView.TabIndex = 4;
|
|
//
|
|
// ComponentId
|
|
//
|
|
this.ComponentId.HeaderText = "Id";
|
|
this.ComponentId.Name = "ComponentId";
|
|
this.ComponentId.Visible = false;
|
|
//
|
|
// ComponentName
|
|
//
|
|
this.ComponentName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ComponentName.HeaderText = "Название";
|
|
this.ComponentName.Name = "ComponentName";
|
|
//
|
|
// ComponentAmount
|
|
//
|
|
this.ComponentAmount.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
this.ComponentAmount.HeaderText = "Количество";
|
|
this.ComponentAmount.MinimumWidth = 100;
|
|
this.ComponentAmount.Name = "ComponentAmount";
|
|
//
|
|
// groupBoxComponents
|
|
//
|
|
this.groupBoxComponents.Controls.Add(this.buttonRef);
|
|
this.groupBoxComponents.Controls.Add(this.buttonDelete);
|
|
this.groupBoxComponents.Controls.Add(this.buttonEdit);
|
|
this.groupBoxComponents.Controls.Add(this.buttonAdd);
|
|
this.groupBoxComponents.Controls.Add(this.dataGridView);
|
|
this.groupBoxComponents.Location = new System.Drawing.Point(12, 91);
|
|
this.groupBoxComponents.Name = "groupBoxComponents";
|
|
this.groupBoxComponents.Size = new System.Drawing.Size(750, 377);
|
|
this.groupBoxComponents.TabIndex = 5;
|
|
this.groupBoxComponents.TabStop = false;
|
|
this.groupBoxComponents.Text = "Компоненты";
|
|
//
|
|
// buttonRef
|
|
//
|
|
this.buttonRef.Location = new System.Drawing.Point(587, 172);
|
|
this.buttonRef.Name = "buttonRef";
|
|
this.buttonRef.Size = new System.Drawing.Size(157, 44);
|
|
this.buttonRef.TabIndex = 8;
|
|
this.buttonRef.Text = "Обновить";
|
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|
this.buttonRef.Click += new System.EventHandler(this.ButtonRef_Click);
|
|
//
|
|
// buttonDelete
|
|
//
|
|
this.buttonDelete.Location = new System.Drawing.Point(587, 122);
|
|
this.buttonDelete.Name = "buttonDelete";
|
|
this.buttonDelete.Size = new System.Drawing.Size(157, 44);
|
|
this.buttonDelete.TabIndex = 7;
|
|
this.buttonDelete.Text = "Удалить";
|
|
this.buttonDelete.UseVisualStyleBackColor = true;
|
|
this.buttonDelete.Click += new System.EventHandler(this.ButtonDel_Click);
|
|
//
|
|
// buttonEdit
|
|
//
|
|
this.buttonEdit.Location = new System.Drawing.Point(587, 72);
|
|
this.buttonEdit.Name = "buttonEdit";
|
|
this.buttonEdit.Size = new System.Drawing.Size(157, 44);
|
|
this.buttonEdit.TabIndex = 6;
|
|
this.buttonEdit.Text = "Изменить";
|
|
this.buttonEdit.UseVisualStyleBackColor = true;
|
|
this.buttonEdit.Click += new System.EventHandler(this.ButtonUpd_Click);
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(587, 22);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(157, 44);
|
|
this.buttonAdd.TabIndex = 5;
|
|
this.buttonAdd.Text = "Добавить";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Location = new System.Drawing.Point(617, 477);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(123, 29);
|
|
this.buttonCancel.TabIndex = 6;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(470, 477);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(123, 29);
|
|
this.buttonSave.TabIndex = 7;
|
|
this.buttonSave.Text = "Сохранить";
|
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|
this.buttonSave.MouseCaptureChanged += new System.EventHandler(this.ButtonSave_Click);
|
|
//
|
|
// FormComputer
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(774, 518);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.groupBoxComponents);
|
|
this.Controls.Add(this.textBoxCost);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Controls.Add(this.labelCost);
|
|
this.Controls.Add(this.labelName);
|
|
this.Name = "FormComputer";
|
|
this.Text = "FormComputer";
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|
this.groupBoxComponents.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private Label labelCost;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxCost;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn ComponentId;
|
|
private DataGridViewTextBoxColumn ComponentName;
|
|
private DataGridViewTextBoxColumn ComponentAmount;
|
|
private GroupBox groupBoxComponents;
|
|
private Button buttonRef;
|
|
private Button buttonDelete;
|
|
private Button buttonEdit;
|
|
private Button buttonAdd;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
}
|
|
} |