комиит

This commit is contained in:
Казначеева Елизавета 2024-05-08 12:42:11 +04:00
parent b5d3ccbe9a
commit a253a606bd
2 changed files with 22 additions and 31 deletions

View File

@ -35,13 +35,13 @@
textBoxAddress = new TextBox();
openingDatePicker = new DateTimePicker();
dataGridView = new DataGridView();
PackageName = new DataGridViewTextBoxColumn();
Price = new DataGridViewTextBoxColumn();
Count = new DataGridViewTextBoxColumn();
buttonSave = new Button();
buttonCancel = new Button();
labelNumeric = new Label();
numericUpDown = new NumericUpDown();
Price = new DataGridViewTextBoxColumn();
PackageName = new DataGridViewTextBoxColumn();
Count = new DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
((System.ComponentModel.ISupportInitialize)numericUpDown).BeginInit();
SuspendLayout();
@ -97,27 +97,12 @@
// dataGridView
//
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Columns.AddRange(new DataGridViewColumn[] { PackageName, Price, Count });
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Price, PackageName, Count });
dataGridView.Location = new Point(12, 128);
dataGridView.Name = "dataGridView";
dataGridView.Size = new Size(601, 242);
dataGridView.TabIndex = 6;
//
// PackageName
//
PackageName.HeaderText = "Изделие";
PackageName.Name = "PackageName";
//
// Price
//
Price.HeaderText = "Цена";
Price.Name = "Price";
//
// Count
//
Count.HeaderText = "Количество";
Count.Name = "Count";
//
// buttonSave
//
buttonSave.Location = new Point(384, 376);
@ -155,6 +140,21 @@
numericUpDown.Size = new Size(131, 23);
numericUpDown.TabIndex = 13;
//
// Price
//
Price.HeaderText = "Номер";
Price.Name = "Price";
//
// PackageName
//
PackageName.HeaderText = "Изделие";
PackageName.Name = "PackageName";
//
// Count
//
Count.HeaderText = "Количество";
Count.Name = "Count";
//
// FormShop
//
AutoScaleDimensions = new SizeF(7F, 15F);
@ -191,10 +191,10 @@
private DataGridView dataGridView;
private Button buttonSave;
private Button buttonCancel;
private DataGridViewTextBoxColumn PackageName;
private DataGridViewTextBoxColumn Price;
private DataGridViewTextBoxColumn Count;
private Label labelNumeric;
private NumericUpDown numericUpDown;
private DataGridViewTextBoxColumn PackageName;
private DataGridViewTextBoxColumn Count;
private DataGridViewTextBoxColumn Price;
}
}

View File

@ -117,21 +117,12 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="PackageName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PackageName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>