226 lines
8.4 KiB
C#
226 lines
8.4 KiB
C#
namespace AutomobilePlantView
|
|
{
|
|
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()
|
|
{
|
|
labelName = new Label();
|
|
labelPrice = new Label();
|
|
textBoxName = new TextBox();
|
|
textBoxPrice = new TextBox();
|
|
groupBoxComponents = new GroupBox();
|
|
buttonRefresh = new Button();
|
|
buttonDelete = new Button();
|
|
buttonUpdate = new Button();
|
|
buttonAdd = new Button();
|
|
dataGridView = new DataGridView();
|
|
IdCol = new DataGridViewTextBoxColumn();
|
|
ComponentCol = new DataGridViewTextBoxColumn();
|
|
CountCol = new DataGridViewTextBoxColumn();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
groupBoxComponents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(12, 9);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(42, 15);
|
|
labelName.TabIndex = 0;
|
|
labelName.Text = "Name:";
|
|
//
|
|
// labelPrice
|
|
//
|
|
labelPrice.AutoSize = true;
|
|
labelPrice.Location = new Point(12, 38);
|
|
labelPrice.Name = "labelPrice";
|
|
labelPrice.Size = new Size(36, 15);
|
|
labelPrice.TabIndex = 1;
|
|
labelPrice.Text = "Price:";
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(60, 6);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(641, 23);
|
|
textBoxName.TabIndex = 2;
|
|
//
|
|
// textBoxPrice
|
|
//
|
|
textBoxPrice.Location = new Point(60, 35);
|
|
textBoxPrice.Name = "textBoxPrice";
|
|
textBoxPrice.Size = new Size(337, 23);
|
|
textBoxPrice.TabIndex = 3;
|
|
//
|
|
// groupBoxComponents
|
|
//
|
|
groupBoxComponents.Controls.Add(buttonRefresh);
|
|
groupBoxComponents.Controls.Add(buttonDelete);
|
|
groupBoxComponents.Controls.Add(buttonUpdate);
|
|
groupBoxComponents.Controls.Add(buttonAdd);
|
|
groupBoxComponents.Controls.Add(dataGridView);
|
|
groupBoxComponents.Location = new Point(12, 64);
|
|
groupBoxComponents.Name = "groupBoxComponents";
|
|
groupBoxComponents.Size = new Size(776, 345);
|
|
groupBoxComponents.TabIndex = 4;
|
|
groupBoxComponents.TabStop = false;
|
|
groupBoxComponents.Text = "Components";
|
|
//
|
|
// buttonRefresh
|
|
//
|
|
buttonRefresh.Location = new Point(695, 109);
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
buttonRefresh.Size = new Size(75, 23);
|
|
buttonRefresh.TabIndex = 4;
|
|
buttonRefresh.Text = "Refresh";
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
buttonRefresh.Click += ButtonRef_Click;
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(695, 80);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(75, 23);
|
|
buttonDelete.TabIndex = 3;
|
|
buttonDelete.Text = "Delete";
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
buttonDelete.Click += ButtonDel_Click;
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
buttonUpdate.Location = new Point(695, 51);
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
buttonUpdate.Size = new Size(75, 23);
|
|
buttonUpdate.TabIndex = 2;
|
|
buttonUpdate.Text = "Update";
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
buttonUpdate.Click += ButtonUpd_Click;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(695, 22);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(75, 23);
|
|
buttonAdd.TabIndex = 1;
|
|
buttonAdd.Text = "Add";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += ButtonAdd_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.AllowUserToResizeColumns = false;
|
|
dataGridView.AllowUserToResizeRows = false;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { IdCol, ComponentCol, CountCol });
|
|
dataGridView.Location = new Point(6, 22);
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowTemplate.Height = 25;
|
|
dataGridView.Size = new Size(683, 317);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// IdCol
|
|
//
|
|
IdCol.HeaderText = "Id";
|
|
IdCol.Name = "IdCol";
|
|
IdCol.Visible = false;
|
|
//
|
|
// ComponentCol
|
|
//
|
|
ComponentCol.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ComponentCol.HeaderText = "Component";
|
|
ComponentCol.Name = "ComponentCol";
|
|
//
|
|
// CountCol
|
|
//
|
|
CountCol.HeaderText = "Count";
|
|
CountCol.Name = "CountCol";
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(632, 415);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(75, 23);
|
|
buttonSave.TabIndex = 5;
|
|
buttonSave.Text = "Save";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(713, 415);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(75, 23);
|
|
buttonCancel.TabIndex = 6;
|
|
buttonCancel.Text = "Cancel";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// FormCar
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(groupBoxComponents);
|
|
Controls.Add(textBoxPrice);
|
|
Controls.Add(textBoxName);
|
|
Controls.Add(labelPrice);
|
|
Controls.Add(labelName);
|
|
Name = "FormCar";
|
|
Text = "Car";
|
|
Load += FormCar_Load;
|
|
groupBoxComponents.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelName;
|
|
private Label labelPrice;
|
|
private TextBox textBoxName;
|
|
private TextBox textBoxPrice;
|
|
private GroupBox groupBoxComponents;
|
|
private DataGridView dataGridView;
|
|
private Button buttonRefresh;
|
|
private Button buttonDelete;
|
|
private Button buttonUpdate;
|
|
private Button buttonAdd;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private DataGridViewTextBoxColumn IdCol;
|
|
private DataGridViewTextBoxColumn ComponentCol;
|
|
private DataGridViewTextBoxColumn CountCol;
|
|
}
|
|
} |