221 lines
9.9 KiB
C#
221 lines
9.9 KiB
C#
|
namespace JewelryStore
|
|||
|
{
|
|||
|
partial class FormJewel
|
|||
|
{
|
|||
|
/// <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.labelPrice = new System.Windows.Forms.Label();
|
|||
|
this.textBoxName = new System.Windows.Forms.TextBox();
|
|||
|
this.textBoxPrice = new System.Windows.Forms.TextBox();
|
|||
|
this.groupBoxComponent = new System.Windows.Forms.GroupBox();
|
|||
|
this.buttonSave = new System.Windows.Forms.Button();
|
|||
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|||
|
this.dataGridView = new System.Windows.Forms.DataGridView();
|
|||
|
this.ColumnComponent = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
this.buttonAdd = new System.Windows.Forms.Button();
|
|||
|
this.buttonChange = new System.Windows.Forms.Button();
|
|||
|
this.buttonDelete = new System.Windows.Forms.Button();
|
|||
|
this.buttonUpdate = new System.Windows.Forms.Button();
|
|||
|
this.groupBoxComponent.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// labelName
|
|||
|
//
|
|||
|
this.labelName.AutoSize = true;
|
|||
|
this.labelName.Location = new System.Drawing.Point(19, 19);
|
|||
|
this.labelName.Name = "labelName";
|
|||
|
this.labelName.Size = new System.Drawing.Size(94, 25);
|
|||
|
this.labelName.TabIndex = 0;
|
|||
|
this.labelName.Text = "Название:";
|
|||
|
//
|
|||
|
// labelPrice
|
|||
|
//
|
|||
|
this.labelPrice.AutoSize = true;
|
|||
|
this.labelPrice.Location = new System.Drawing.Point(19, 59);
|
|||
|
this.labelPrice.Name = "labelPrice";
|
|||
|
this.labelPrice.Size = new System.Drawing.Size(108, 25);
|
|||
|
this.labelPrice.TabIndex = 1;
|
|||
|
this.labelPrice.Text = "Стоимость: ";
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
this.textBoxName.Location = new System.Drawing.Point(119, 16);
|
|||
|
this.textBoxName.Name = "textBoxName";
|
|||
|
this.textBoxName.Size = new System.Drawing.Size(340, 31);
|
|||
|
this.textBoxName.TabIndex = 2;
|
|||
|
//
|
|||
|
// textBoxPrice
|
|||
|
//
|
|||
|
this.textBoxPrice.Location = new System.Drawing.Point(119, 53);
|
|||
|
this.textBoxPrice.Name = "textBoxPrice";
|
|||
|
this.textBoxPrice.Size = new System.Drawing.Size(150, 31);
|
|||
|
this.textBoxPrice.TabIndex = 3;
|
|||
|
//
|
|||
|
// groupBoxComponent
|
|||
|
//
|
|||
|
this.groupBoxComponent.Controls.Add(this.buttonUpdate);
|
|||
|
this.groupBoxComponent.Controls.Add(this.buttonDelete);
|
|||
|
this.groupBoxComponent.Controls.Add(this.buttonChange);
|
|||
|
this.groupBoxComponent.Controls.Add(this.buttonAdd);
|
|||
|
this.groupBoxComponent.Controls.Add(this.dataGridView);
|
|||
|
this.groupBoxComponent.Location = new System.Drawing.Point(14, 108);
|
|||
|
this.groupBoxComponent.Name = "groupBoxComponent";
|
|||
|
this.groupBoxComponent.Size = new System.Drawing.Size(763, 330);
|
|||
|
this.groupBoxComponent.TabIndex = 4;
|
|||
|
this.groupBoxComponent.TabStop = false;
|
|||
|
this.groupBoxComponent.Text = "Компоненты";
|
|||
|
//
|
|||
|
// buttonSave
|
|||
|
//
|
|||
|
this.buttonSave.Location = new System.Drawing.Point(431, 452);
|
|||
|
this.buttonSave.Name = "buttonSave";
|
|||
|
this.buttonSave.Size = new System.Drawing.Size(112, 34);
|
|||
|
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(562, 454);
|
|||
|
this.buttonCancel.Name = "buttonCancel";
|
|||
|
this.buttonCancel.Size = new System.Drawing.Size(112, 34);
|
|||
|
this.buttonCancel.TabIndex = 6;
|
|||
|
this.buttonCancel.Text = "Отмена";
|
|||
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|||
|
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|||
|
this.ColumnComponent,
|
|||
|
this.ColumnCount});
|
|||
|
this.dataGridView.Location = new System.Drawing.Point(25, 30);
|
|||
|
this.dataGridView.Name = "dataGridView";
|
|||
|
this.dataGridView.RowHeadersWidth = 62;
|
|||
|
this.dataGridView.RowTemplate.Height = 33;
|
|||
|
this.dataGridView.Size = new System.Drawing.Size(554, 281);
|
|||
|
this.dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// ColumnComponent
|
|||
|
//
|
|||
|
this.ColumnComponent.HeaderText = "Компонент";
|
|||
|
this.ColumnComponent.MinimumWidth = 8;
|
|||
|
this.ColumnComponent.Name = "ColumnComponent";
|
|||
|
this.ColumnComponent.Width = 150;
|
|||
|
//
|
|||
|
// ColumnCount
|
|||
|
//
|
|||
|
this.ColumnCount.HeaderText = "Количество";
|
|||
|
this.ColumnCount.MinimumWidth = 8;
|
|||
|
this.ColumnCount.Name = "ColumnCount";
|
|||
|
this.ColumnCount.Width = 150;
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
this.buttonAdd.Location = new System.Drawing.Point(602, 35);
|
|||
|
this.buttonAdd.Name = "buttonAdd";
|
|||
|
this.buttonAdd.Size = new System.Drawing.Size(112, 34);
|
|||
|
this.buttonAdd.TabIndex = 1;
|
|||
|
this.buttonAdd.Text = "Добавить";
|
|||
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
|
|||
|
//
|
|||
|
// buttonChange
|
|||
|
//
|
|||
|
this.buttonChange.Location = new System.Drawing.Point(602, 81);
|
|||
|
this.buttonChange.Name = "buttonChange";
|
|||
|
this.buttonChange.Size = new System.Drawing.Size(112, 34);
|
|||
|
this.buttonChange.TabIndex = 2;
|
|||
|
this.buttonChange.Text = "Изменить";
|
|||
|
this.buttonChange.UseVisualStyleBackColor = true;
|
|||
|
this.buttonChange.Click += new System.EventHandler(this.buttonChange_Click);
|
|||
|
//
|
|||
|
// buttonDelete
|
|||
|
//
|
|||
|
this.buttonDelete.Location = new System.Drawing.Point(604, 124);
|
|||
|
this.buttonDelete.Name = "buttonDelete";
|
|||
|
this.buttonDelete.Size = new System.Drawing.Size(112, 34);
|
|||
|
this.buttonDelete.TabIndex = 3;
|
|||
|
this.buttonDelete.Text = "Удалить";
|
|||
|
this.buttonDelete.UseVisualStyleBackColor = true;
|
|||
|
this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
|
|||
|
//
|
|||
|
// buttonUpdate
|
|||
|
//
|
|||
|
this.buttonUpdate.Location = new System.Drawing.Point(604, 164);
|
|||
|
this.buttonUpdate.Name = "buttonUpdate";
|
|||
|
this.buttonUpdate.Size = new System.Drawing.Size(112, 34);
|
|||
|
this.buttonUpdate.TabIndex = 4;
|
|||
|
this.buttonUpdate.Text = "Обновить";
|
|||
|
this.buttonUpdate.UseVisualStyleBackColor = true;
|
|||
|
this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click);
|
|||
|
//
|
|||
|
// FormJewel
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 25F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(800, 495);
|
|||
|
this.Controls.Add(this.buttonCancel);
|
|||
|
this.Controls.Add(this.buttonSave);
|
|||
|
this.Controls.Add(this.groupBoxComponent);
|
|||
|
this.Controls.Add(this.textBoxPrice);
|
|||
|
this.Controls.Add(this.textBoxName);
|
|||
|
this.Controls.Add(this.labelPrice);
|
|||
|
this.Controls.Add(this.labelName);
|
|||
|
this.Name = "FormJewel";
|
|||
|
this.Text = "Драгоценность";
|
|||
|
this.Load += new System.EventHandler(this.FormJewel_Load);
|
|||
|
this.groupBoxComponent.ResumeLayout(false);
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Label labelName;
|
|||
|
private Label labelPrice;
|
|||
|
private TextBox textBoxName;
|
|||
|
private TextBox textBoxPrice;
|
|||
|
private GroupBox groupBoxComponent;
|
|||
|
private Button buttonUpdate;
|
|||
|
private Button buttonDelete;
|
|||
|
private Button buttonChange;
|
|||
|
private Button buttonAdd;
|
|||
|
private DataGridView dataGridView;
|
|||
|
private DataGridViewTextBoxColumn ColumnComponent;
|
|||
|
private DataGridViewTextBoxColumn ColumnCount;
|
|||
|
private Button buttonSave;
|
|||
|
private Button buttonCancel;
|
|||
|
}
|
|||
|
}
|