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

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.Name = "menuStrip";
menuStrip.Size = new Size(1082, 28); menuStrip.Size = new Size(1082, 28);
menuStrip.TabIndex = 0; menuStrip.TabIndex = 0;
menuStrip.Text = "menuStrip1"; menuStrip.Text = "Меню справочников";
// //
// справочникиToolStripMenuItem // справочникиToolStripMenuItem
// //

View File

@ -36,13 +36,13 @@
buttonUpdate = new Button(); buttonUpdate = new Button();
buttonAdd = new Button(); buttonAdd = new Button();
dataGridViewComponents = new DataGridView(); dataGridViewComponents = new DataGridView();
id = new DataGridViewTextBoxColumn();
ComponentNameColumn = new DataGridViewTextBoxColumn();
CountColumn = new DataGridViewTextBoxColumn();
textBoxName = new TextBox(); textBoxName = new TextBox();
textBoxCost = new TextBox(); textBoxCost = new TextBox();
buttonSave = new Button(); buttonSave = new Button();
buttonCancel = new Button(); buttonCancel = new Button();
ColumnId = new DataGridViewTextBoxColumn();
ComponentNameColumn = new DataGridViewTextBoxColumn();
CountColumn = new DataGridViewTextBoxColumn();
groupBoxComponents.SuspendLayout(); groupBoxComponents.SuspendLayout();
((System.ComponentModel.ISupportInitialize)dataGridViewComponents).BeginInit(); ((System.ComponentModel.ISupportInitialize)dataGridViewComponents).BeginInit();
SuspendLayout(); SuspendLayout();
@ -123,7 +123,7 @@
// //
dataGridViewComponents.BackgroundColor = Color.White; dataGridViewComponents.BackgroundColor = Color.White;
dataGridViewComponents.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; 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.Location = new Point(13, 23);
dataGridViewComponents.Name = "dataGridViewComponents"; dataGridViewComponents.Name = "dataGridViewComponents";
dataGridViewComponents.RowHeadersWidth = 51; dataGridViewComponents.RowHeadersWidth = 51;
@ -131,28 +131,6 @@
dataGridViewComponents.Size = new Size(573, 274); dataGridViewComponents.Size = new Size(573, 274);
dataGridViewComponents.TabIndex = 0; 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
// //
textBoxName.Location = new Point(117, 18); textBoxName.Location = new Point(117, 18);
@ -188,6 +166,28 @@
buttonCancel.UseVisualStyleBackColor = true; buttonCancel.UseVisualStyleBackColor = true;
buttonCancel.Click += ButtonCancel_Click; 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 // FormRepair
// //
AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleDimensions = new SizeF(8F, 20F);
@ -224,7 +224,7 @@
private TextBox textBoxCost; private TextBox textBoxCost;
private Button buttonSave; private Button buttonSave;
private Button buttonCancel; private Button buttonCancel;
private DataGridViewTextBoxColumn id; private DataGridViewTextBoxColumn ColumnId;
private DataGridViewTextBoxColumn ComponentNameColumn; private DataGridViewTextBoxColumn ComponentNameColumn;
private DataGridViewTextBoxColumn CountColumn; private DataGridViewTextBoxColumn CountColumn;
} }

View File

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