подготовка к пулу

This commit is contained in:
Yunusov_Niyaz 2024-02-19 21:46:05 +04:00
parent 64f741e671
commit 813a5eb6a1
3 changed files with 29 additions and 29 deletions

View File

@ -50,7 +50,7 @@
menuStrip.Name = "menuStrip";
menuStrip.Size = new Size(1082, 28);
menuStrip.TabIndex = 0;
menuStrip.Text = "menuStrip1";
menuStrip.Text = "Меню справочников";
//
// справочникиToolStripMenuItem
//

View File

@ -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;
}

View File

@ -117,7 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="ColumnId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ComponentNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">