diff --git a/CarRepairShop/CarRepairShop/FormMain.Designer.cs b/CarRepairShop/CarRepairShop/FormMain.Designer.cs
index 8bf3995..eb2ee1b 100644
--- a/CarRepairShop/CarRepairShop/FormMain.Designer.cs
+++ b/CarRepairShop/CarRepairShop/FormMain.Designer.cs
@@ -50,7 +50,7 @@
menuStrip.Name = "menuStrip";
menuStrip.Size = new Size(1082, 28);
menuStrip.TabIndex = 0;
- menuStrip.Text = "menuStrip1";
+ menuStrip.Text = "Меню справочников";
//
// справочникиToolStripMenuItem
//
diff --git a/CarRepairShop/CarRepairShop/FormRepair.Designer.cs b/CarRepairShop/CarRepairShop/FormRepair.Designer.cs
index 2c252f7..14b77fc 100644
--- a/CarRepairShop/CarRepairShop/FormRepair.Designer.cs
+++ b/CarRepairShop/CarRepairShop/FormRepair.Designer.cs
@@ -36,13 +36,13 @@
buttonUpdate = new Button();
buttonAdd = new Button();
dataGridViewComponents = new DataGridView();
- id = new DataGridViewTextBoxColumn();
- ComponentNameColumn = new DataGridViewTextBoxColumn();
- CountColumn = new DataGridViewTextBoxColumn();
textBoxName = new TextBox();
textBoxCost = new TextBox();
buttonSave = new Button();
buttonCancel = new Button();
+ ColumnId = new DataGridViewTextBoxColumn();
+ ComponentNameColumn = new DataGridViewTextBoxColumn();
+ CountColumn = new DataGridViewTextBoxColumn();
groupBoxComponents.SuspendLayout();
((System.ComponentModel.ISupportInitialize)dataGridViewComponents).BeginInit();
SuspendLayout();
@@ -123,7 +123,7 @@
//
dataGridViewComponents.BackgroundColor = Color.White;
dataGridViewComponents.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- dataGridViewComponents.Columns.AddRange(new DataGridViewColumn[] { id, ComponentNameColumn, CountColumn });
+ dataGridViewComponents.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ComponentNameColumn, CountColumn });
dataGridViewComponents.Location = new Point(13, 23);
dataGridViewComponents.Name = "dataGridViewComponents";
dataGridViewComponents.RowHeadersWidth = 51;
@@ -131,28 +131,6 @@
dataGridViewComponents.Size = new Size(573, 274);
dataGridViewComponents.TabIndex = 0;
//
- // id
- //
- id.HeaderText = "";
- id.MinimumWidth = 6;
- id.Name = "id";
- id.Visible = false;
- id.Width = 125;
- //
- // ComponentNameColumn
- //
- ComponentNameColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
- ComponentNameColumn.HeaderText = "Компонент";
- ComponentNameColumn.MinimumWidth = 320;
- ComponentNameColumn.Name = "ComponentNameColumn";
- //
- // CountColumn
- //
- CountColumn.HeaderText = "Количество";
- CountColumn.MinimumWidth = 6;
- CountColumn.Name = "CountColumn";
- CountColumn.Width = 200;
- //
// textBoxName
//
textBoxName.Location = new Point(117, 18);
@@ -188,6 +166,28 @@
buttonCancel.UseVisualStyleBackColor = true;
buttonCancel.Click += ButtonCancel_Click;
//
+ // ColumnId
+ //
+ ColumnId.HeaderText = "Идентификатор";
+ ColumnId.MinimumWidth = 6;
+ ColumnId.Name = "ColumnId";
+ ColumnId.Visible = false;
+ ColumnId.Width = 125;
+ //
+ // ComponentNameColumn
+ //
+ ComponentNameColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
+ ComponentNameColumn.HeaderText = "Компонент";
+ ComponentNameColumn.MinimumWidth = 320;
+ ComponentNameColumn.Name = "ComponentNameColumn";
+ //
+ // CountColumn
+ //
+ CountColumn.HeaderText = "Количество";
+ CountColumn.MinimumWidth = 6;
+ CountColumn.Name = "CountColumn";
+ CountColumn.Width = 200;
+ //
// FormRepair
//
AutoScaleDimensions = new SizeF(8F, 20F);
@@ -224,7 +224,7 @@
private TextBox textBoxCost;
private Button buttonSave;
private Button buttonCancel;
- private DataGridViewTextBoxColumn id;
+ private DataGridViewTextBoxColumn ColumnId;
private DataGridViewTextBoxColumn ComponentNameColumn;
private DataGridViewTextBoxColumn CountColumn;
}
diff --git a/CarRepairShop/CarRepairShop/FormRepair.resx b/CarRepairShop/CarRepairShop/FormRepair.resx
index 23f2d4a..16aedde 100644
--- a/CarRepairShop/CarRepairShop/FormRepair.resx
+++ b/CarRepairShop/CarRepairShop/FormRepair.resx
@@ -117,7 +117,7 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
True