126
this->grd2->AllowUserToAddRows = false;
this->grd2->AllowUserToDeleteRows = false;
this->grd2->AllowUserToResizeRows = false;
this->grd2->BackgroundColor =
System::Drawing::SystemColors::GradientInactiveCaption;
this->grd2->ColumnHeadersHeightSizeMode =
System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->grd2->Columns->AddRange(gcnew cli::array<
System::Windows::Forms::DataGridViewColumn^ >(2) {this->Column6,
this->Column7});
this->grd2->Location = System::Drawing::Point(15, 25);
this->grd2->MultiSelect = false;
this->grd2->Name = L"grd2";
this->grd2->ReadOnly = true;
this->grd2->RowHeadersWidth = 50;
this->grd2->SelectionMode =
System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
this->grd2->Size = System::Drawing::Size(608, 133);
this->grd2->TabIndex = 5;
this->grd2->CellClick += gcnew
System::Windows::Forms::DataGridViewCellEventHandler(this, &tovari::grd2_CellClick);
//
// label6
//
this->label6->AutoSize = true;
this->label6->Location = System::Drawing::Point(654, 224);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(33, 13);
this->label6->TabIndex = 10;
this->label6->Text = L"Цена";
//
// textBox4
//
this->textBox4->Location = System::Drawing::Point(708, 283);
this->textBox4->Name = L"textBox4";
this->textBox4->Size = System::Drawing::Size(158, 20);
this->textBox4->TabIndex = 9;
//
// button3
//
this->button3->Location = System::Drawing::Point(657, 471);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(209, 23);
this->button3->TabIndex = 8;
this->button3->Text = L"Вставить как новую запись";
this->button3->UseVisualStyleBackColor = true;
this->button3->Click += gcnew System::EventHandler(this,
&tovari::button3_Click);
//
// button2
//
this->button2->Location = System::Drawing::Point(657, 415);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(209, 23);
this->button2->TabIndex = 7;
this->button2->Text = L"Удалить запись";