232 lines
10 KiB
C#
232 lines
10 KiB
C#
namespace AutomobilePlant
|
|
{
|
|
partial class FormCar
|
|
{
|
|
/// <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.groupBoxComponents = new System.Windows.Forms.GroupBox();
|
|
this.buttonUpdate = 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.dataGridView = new System.Windows.Forms.DataGridView();
|
|
this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnComponentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.buttonSave = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.groupBoxComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
this.labelName.AutoSize = true;
|
|
this.labelName.Location = new System.Drawing.Point(12, 9);
|
|
this.labelName.Name = "labelName";
|
|
this.labelName.Size = new System.Drawing.Size(80, 20);
|
|
this.labelName.TabIndex = 0;
|
|
this.labelName.Text = "Название:";
|
|
//
|
|
// labelPrice
|
|
//
|
|
this.labelPrice.AutoSize = true;
|
|
this.labelPrice.Location = new System.Drawing.Point(12, 45);
|
|
this.labelPrice.Name = "labelPrice";
|
|
this.labelPrice.Size = new System.Drawing.Size(86, 20);
|
|
this.labelPrice.TabIndex = 1;
|
|
this.labelPrice.Text = "Стоимость:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
this.textBoxName.Location = new System.Drawing.Point(98, 6);
|
|
this.textBoxName.Name = "textBoxName";
|
|
this.textBoxName.Size = new System.Drawing.Size(315, 27);
|
|
this.textBoxName.TabIndex = 2;
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
this.textBoxPrice.Location = new System.Drawing.Point(98, 39);
|
|
this.textBoxPrice.Name = "textBoxPrice";
|
|
this.textBoxPrice.Size = new System.Drawing.Size(157, 27);
|
|
this.textBoxPrice.TabIndex = 3;
|
|
//
|
|
// groupBoxComponents
|
|
//
|
|
this.groupBoxComponents.Controls.Add(this.buttonUpdate);
|
|
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(15, 83);
|
|
this.groupBoxComponents.Name = "groupBoxComponents";
|
|
this.groupBoxComponents.Size = new System.Drawing.Size(699, 275);
|
|
this.groupBoxComponents.TabIndex = 4;
|
|
this.groupBoxComponents.TabStop = false;
|
|
this.groupBoxComponents.Text = "Компоненты";
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
this.buttonUpdate.Location = new System.Drawing.Point(521, 240);
|
|
this.buttonUpdate.Name = "buttonUpdate";
|
|
this.buttonUpdate.Size = new System.Drawing.Size(155, 29);
|
|
this.buttonUpdate.TabIndex = 4;
|
|
this.buttonUpdate.Text = "Обновить";
|
|
this.buttonUpdate.UseVisualStyleBackColor = true;
|
|
this.buttonUpdate.Click += new System.EventHandler(this.ButtonUpdate_Click);
|
|
//
|
|
// buttonDelete
|
|
//
|
|
this.buttonDelete.Location = new System.Drawing.Point(521, 96);
|
|
this.buttonDelete.Name = "buttonDelete";
|
|
this.buttonDelete.Size = new System.Drawing.Size(155, 29);
|
|
this.buttonDelete.TabIndex = 3;
|
|
this.buttonDelete.Text = "Удалить";
|
|
this.buttonDelete.UseVisualStyleBackColor = true;
|
|
this.buttonDelete.Click += new System.EventHandler(this.ButtonDelete_Click);
|
|
//
|
|
// buttonEdit
|
|
//
|
|
this.buttonEdit.Location = new System.Drawing.Point(521, 61);
|
|
this.buttonEdit.Name = "buttonEdit";
|
|
this.buttonEdit.Size = new System.Drawing.Size(155, 29);
|
|
this.buttonEdit.TabIndex = 2;
|
|
this.buttonEdit.Text = "Изменить";
|
|
this.buttonEdit.UseVisualStyleBackColor = true;
|
|
this.buttonEdit.Click += new System.EventHandler(this.ButtonEdit_Click);
|
|
//
|
|
// buttonAdd
|
|
//
|
|
this.buttonAdd.Location = new System.Drawing.Point(521, 26);
|
|
this.buttonAdd.Name = "buttonAdd";
|
|
this.buttonAdd.Size = new System.Drawing.Size(155, 29);
|
|
this.buttonAdd.TabIndex = 1;
|
|
this.buttonAdd.Text = "Добавить";
|
|
this.buttonAdd.UseVisualStyleBackColor = true;
|
|
this.buttonAdd.Click += new System.EventHandler(this.ButtonAdd_Click);
|
|
//
|
|
// dataGridView
|
|
//
|
|
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.ID,
|
|
this.ColumnComponentName,
|
|
this.ColumnCount});
|
|
this.dataGridView.Location = new System.Drawing.Point(6, 26);
|
|
this.dataGridView.Name = "dataGridView";
|
|
this.dataGridView.RowHeadersWidth = 51;
|
|
this.dataGridView.RowTemplate.Height = 29;
|
|
this.dataGridView.Size = new System.Drawing.Size(490, 243);
|
|
this.dataGridView.TabIndex = 0;
|
|
//
|
|
// ID
|
|
//
|
|
this.ID.HeaderText = "ID";
|
|
this.ID.MinimumWidth = 6;
|
|
this.ID.Name = "ID";
|
|
this.ID.Visible = false;
|
|
this.ID.Width = 125;
|
|
//
|
|
// ColumnComponentName
|
|
//
|
|
this.ColumnComponentName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.ColumnComponentName.HeaderText = "Компонент";
|
|
this.ColumnComponentName.MinimumWidth = 6;
|
|
this.ColumnComponentName.Name = "ColumnComponentName";
|
|
this.ColumnComponentName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
//
|
|
// ColumnCount
|
|
//
|
|
this.ColumnCount.HeaderText = "Количество";
|
|
this.ColumnCount.MinimumWidth = 6;
|
|
this.ColumnCount.Name = "ColumnCount";
|
|
this.ColumnCount.Width = 125;
|
|
//
|
|
// buttonSave
|
|
//
|
|
this.buttonSave.Location = new System.Drawing.Point(356, 379);
|
|
this.buttonSave.Name = "buttonSave";
|
|
this.buttonSave.Size = new System.Drawing.Size(155, 29);
|
|
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(536, 379);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(155, 29);
|
|
this.buttonCancel.TabIndex = 6;
|
|
this.buttonCancel.Text = "Отмена";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
|
//
|
|
// FormCar
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(726, 427);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonSave);
|
|
this.Controls.Add(this.groupBoxComponents);
|
|
this.Controls.Add(this.textBoxPrice);
|
|
this.Controls.Add(this.textBoxName);
|
|
this.Controls.Add(this.labelPrice);
|
|
this.Controls.Add(this.labelName);
|
|
this.Name = "FormCar";
|
|
this.Text = "Автомобиль";
|
|
this.groupBoxComponents.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 groupBoxComponents;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewTextBoxColumn ID;
|
|
private DataGridViewTextBoxColumn ColumnComponentName;
|
|
private DataGridViewTextBoxColumn ColumnCount;
|
|
private Button buttonUpdate;
|
|
private Button buttonDelete;
|
|
private Button buttonEdit;
|
|
private Button buttonAdd;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
}
|
|
} |