234 lines
8.4 KiB
C#
234 lines
8.4 KiB
C#
|
namespace ComputersShopView
|
|||
|
{
|
|||
|
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.label1 = new System.Windows.Forms.Label();
|
|||
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|||
|
this.textBoxPrice = new System.Windows.Forms.TextBox();
|
|||
|
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.ColumnId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.ComponentColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.CountColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.buttonSave = new System.Windows.Forms.Button();
|
|||
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|||
|
this.groupBox1.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
this.label1.AutoSize = true;
|
|||
|
this.label1.Location = new System.Drawing.Point(12, 12);
|
|||
|
this.label1.Name = "label1";
|
|||
|
this.label1.Size = new System.Drawing.Size(62, 15);
|
|||
|
this.label1.TabIndex = 0;
|
|||
|
this.label1.Text = "Название:";
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
this.textBoxName.Location = new System.Drawing.Point(77, 9);
|
|||
|
this.textBoxName.Name = "textBoxName";
|
|||
|
this.textBoxName.Size = new System.Drawing.Size(261, 23);
|
|||
|
this.textBoxName.TabIndex = 1;
|
|||
|
//
|
|||
|
// textBoxPrice
|
|||
|
//
|
|||
|
this.textBoxPrice.Location = new System.Drawing.Point(88, 38);
|
|||
|
this.textBoxPrice.Name = "textBoxPrice";
|
|||
|
this.textBoxPrice.ReadOnly = true;
|
|||
|
this.textBoxPrice.Size = new System.Drawing.Size(159, 23);
|
|||
|
this.textBoxPrice.TabIndex = 3;
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
this.label2.AutoSize = true;
|
|||
|
this.label2.Location = new System.Drawing.Point(12, 41);
|
|||
|
this.label2.Name = "label2";
|
|||
|
this.label2.Size = new System.Drawing.Size(70, 15);
|
|||
|
this.label2.TabIndex = 2;
|
|||
|
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(12, 67);
|
|||
|
this.groupBox1.Name = "groupBox1";
|
|||
|
this.groupBox1.Size = new System.Drawing.Size(593, 335);
|
|||
|
this.groupBox1.TabIndex = 4;
|
|||
|
this.groupBox1.TabStop = false;
|
|||
|
this.groupBox1.Text = "Компоненты";
|
|||
|
//
|
|||
|
// buttonRef
|
|||
|
//
|
|||
|
this.buttonRef.Location = new System.Drawing.Point(471, 163);
|
|||
|
this.buttonRef.Name = "buttonRef";
|
|||
|
this.buttonRef.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.buttonRef.TabIndex = 5;
|
|||
|
this.buttonRef.Text = "Обновить";
|
|||
|
this.buttonRef.UseVisualStyleBackColor = true;
|
|||
|
this.buttonRef.Click += new System.EventHandler(this.ButtonRef_Click);
|
|||
|
//
|
|||
|
// buttonDel
|
|||
|
//
|
|||
|
this.buttonDel.Location = new System.Drawing.Point(471, 116);
|
|||
|
this.buttonDel.Name = "buttonDel";
|
|||
|
this.buttonDel.Size = new System.Drawing.Size(75, 23);
|
|||
|
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(471, 67);
|
|||
|
this.buttonUpd.Name = "buttonUpd";
|
|||
|
this.buttonUpd.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.buttonUpd.TabIndex = 2;
|
|||
|
this.buttonUpd.Text = "Изменить";
|
|||
|
this.buttonUpd.UseVisualStyleBackColor = true;
|
|||
|
this.buttonUpd.Click += new System.EventHandler(this.ButtonUpd_Click);
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
this.buttonAdd.Location = new System.Drawing.Point(471, 22);
|
|||
|
this.buttonAdd.Name = "buttonAdd";
|
|||
|
this.buttonAdd.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.buttonAdd.TabIndex = 1;
|
|||
|
this.buttonAdd.Text = "Добавить";
|
|||
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
this.dataGridView.AllowUserToAddRows = false;
|
|||
|
this.dataGridView.AllowUserToDeleteRows = false;
|
|||
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|||
|
this.ColumnId,
|
|||
|
this.ComponentColumn,
|
|||
|
this.CountColumn});
|
|||
|
this.dataGridView.Location = new System.Drawing.Point(6, 22);
|
|||
|
this.dataGridView.Name = "dataGridView";
|
|||
|
this.dataGridView.ReadOnly = true;
|
|||
|
this.dataGridView.RowTemplate.Height = 25;
|
|||
|
this.dataGridView.Size = new System.Drawing.Size(417, 307);
|
|||
|
this.dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// ColumnId
|
|||
|
//
|
|||
|
this.ColumnId.HeaderText = "Column1";
|
|||
|
this.ColumnId.Name = "ColumnId";
|
|||
|
this.ColumnId.ReadOnly = true;
|
|||
|
this.ColumnId.Visible = false;
|
|||
|
//
|
|||
|
// ComponentColumn
|
|||
|
//
|
|||
|
this.ComponentColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|||
|
this.ComponentColumn.HeaderText = "Компонент";
|
|||
|
this.ComponentColumn.Name = "ComponentColumn";
|
|||
|
this.ComponentColumn.ReadOnly = true;
|
|||
|
//
|
|||
|
// CountColumn
|
|||
|
//
|
|||
|
this.CountColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|||
|
this.CountColumn.HeaderText = "Количество";
|
|||
|
this.CountColumn.Name = "CountColumn";
|
|||
|
this.CountColumn.ReadOnly = true;
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
this.buttonSave.Location = new System.Drawing.Point(449, 408);
|
|||
|
this.buttonSave.Name = "buttonSave";
|
|||
|
this.buttonSave.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.buttonSave.TabIndex = 5;
|
|||
|
this.buttonSave.Text = "Сохранить";
|
|||
|
this.buttonSave.UseVisualStyleBackColor = true;
|
|||
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
|||
|
//
|
|||
|
// buttonCancel
|
|||
|
//
|
|||
|
this.buttonCancel.Location = new System.Drawing.Point(530, 408);
|
|||
|
this.buttonCancel.Name = "buttonCancel";
|
|||
|
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
|||
|
this.buttonCancel.TabIndex = 6;
|
|||
|
this.buttonCancel.Text = "Отмена";
|
|||
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|||
|
//
|
|||
|
// FormComputer
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(621, 445);
|
|||
|
this.Controls.Add(this.buttonCancel);
|
|||
|
this.Controls.Add(this.buttonSave);
|
|||
|
this.Controls.Add(this.groupBox1);
|
|||
|
this.Controls.Add(this.textBoxPrice);
|
|||
|
this.Controls.Add(this.label2);
|
|||
|
this.Controls.Add(this.textBoxName);
|
|||
|
this.Controls.Add(this.label1);
|
|||
|
this.Name = "FormComputer";
|
|||
|
this.Text = "Компьютер";
|
|||
|
this.Load += new System.EventHandler(this.FormComputer_Load);
|
|||
|
this.groupBox1.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Label label1;
|
|||
|
private TextBox textBoxName;
|
|||
|
private TextBox textBoxPrice;
|
|||
|
private Label label2;
|
|||
|
private GroupBox groupBox1;
|
|||
|
private Button buttonRef;
|
|||
|
private Button buttonDel;
|
|||
|
private Button buttonUpd;
|
|||
|
private Button buttonAdd;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button buttonSave;
|
|||
|
private Button buttonCancel;
|
|||
|
private DataGridViewTextBoxColumn ColumnId;
|
|||
|
private DataGridViewTextBoxColumn ComponentColumn;
|
|||
|
private DataGridViewTextBoxColumn CountColumn;
|
|||
|
}
|
|||
|
}
|