📄 cbookinfomanage.h
字号:
this->Panel1->Location = System::Drawing::Point(19, 22);
this->Panel1->Name = L"Panel1";
this->Panel1->Size = System::Drawing::Size(447, 149);
this->Panel1->TabIndex = 0;
//
// ISBN
//
this->ISBN->Location = System::Drawing::Point(284, 85);
this->ISBN->Name = L"ISBN";
this->ISBN->Size = System::Drawing::Size(135, 21);
this->ISBN->TabIndex = 11;
//
// BookConcern
//
this->BookConcern->AcceptsReturn = true;
this->BookConcern->Location = System::Drawing::Point(284, 51);
this->BookConcern->Name = L"BookConcern";
this->BookConcern->Size = System::Drawing::Size(135, 21);
this->BookConcern->TabIndex = 10;
//
// BookPrice
//
this->BookPrice->Location = System::Drawing::Point(284, 20);
this->BookPrice->Name = L"BookPrice";
this->BookPrice->Size = System::Drawing::Size(135, 21);
this->BookPrice->TabIndex = 9;
this->BookPrice->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &CBookInfoManage::BookPrice_KeyPress);
this->BookPrice->KeyDown += gcnew System::Windows::Forms::KeyEventHandler(this, &CBookInfoManage::BookPrice_KeyDown);
//
// Barcode
//
this->Barcode->Location = System::Drawing::Point(85, 85);
this->Barcode->Name = L"Barcode";
this->Barcode->Size = System::Drawing::Size(135, 21);
this->Barcode->TabIndex = 8;
//
// Author
//
this->Author->Location = System::Drawing::Point(85, 51);
this->Author->Name = L"Author";
this->Author->Size = System::Drawing::Size(135, 21);
this->Author->TabIndex = 7;
//
// BookName
//
this->BookName->BackColor = System::Drawing::SystemColors::Window;
this->BookName->ForeColor = System::Drawing::SystemColors::ControlText;
this->BookName->Location = System::Drawing::Point(85, 20);
this->BookName->Name = L"BookName";
this->BookName->Size = System::Drawing::Size(135, 21);
this->BookName->TabIndex = 6;
this->BookName->Layout += gcnew System::Windows::Forms::LayoutEventHandler(this, &CBookInfoManage::BookName_Layout);
//
// label6
//
this->label6->AutoSize = true;
this->label6->Location = System::Drawing::Point(249, 88);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(29, 12);
this->label6->TabIndex = 5;
this->label6->Text = L"书号";
//
// label5
//
this->label5->AutoSize = true;
this->label5->Location = System::Drawing::Point(237, 54);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(41, 12);
this->label5->TabIndex = 4;
this->label5->Text = L"出版社";
//
// label4
//
this->label4->AutoSize = true;
this->label4->Location = System::Drawing::Point(249, 23);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(29, 12);
this->label4->TabIndex = 3;
this->label4->Text = L"价格";
this->label4->Click += gcnew System::EventHandler(this, &CBookInfoManage::label4_Click);
//
// label3
//
this->label3->AutoSize = true;
this->label3->Location = System::Drawing::Point(37, 88);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(41, 12);
this->label3->TabIndex = 2;
this->label3->Text = L"条形码";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Location = System::Drawing::Point(49, 54);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(29, 12);
this->label2->TabIndex = 1;
this->label2->Text = L"作者";
//
// label1
//
this->label1->AutoSize = true;
this->label1->Location = System::Drawing::Point(25, 23);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(53, 12);
this->label1->TabIndex = 0;
this->label1->Text = L"书籍名称";
//
// BookUpdate
//
this->BookUpdate->Controls->Add(this->ButtonDelete);
this->BookUpdate->Controls->Add(this->ButtionExit2);
this->BookUpdate->Controls->Add(this->ButtionCancel2);
this->BookUpdate->Controls->Add(this->ButtionSave2);
this->BookUpdate->Controls->Add(this->panel2);
this->BookUpdate->Controls->Add(this->BookList);
this->BookUpdate->Controls->Add(this->groupBox1);
this->BookUpdate->Location = System::Drawing::Point(4, 21);
this->BookUpdate->Name = L"BookUpdate";
this->BookUpdate->Padding = System::Windows::Forms::Padding(3);
this->BookUpdate->Size = System::Drawing::Size(500, 275);
this->BookUpdate->TabIndex = 1;
this->BookUpdate->Text = L"图书信息维护";
this->BookUpdate->UseVisualStyleBackColor = true;
//
// ButtonDelete
//
this->ButtonDelete->Location = System::Drawing::Point(187, 391);
this->ButtonDelete->Name = L"ButtonDelete";
this->ButtonDelete->Size = System::Drawing::Size(84, 24);
this->ButtonDelete->TabIndex = 6;
this->ButtonDelete->Text = L"删除";
this->ButtonDelete->UseVisualStyleBackColor = true;
this->ButtonDelete->Click += gcnew System::EventHandler(this, &CBookInfoManage::ButtonDelete_Click);
//
// ButtionExit2
//
this->ButtionExit2->Location = System::Drawing::Point(383, 391);
this->ButtionExit2->Name = L"ButtionExit2";
this->ButtionExit2->Size = System::Drawing::Size(84, 24);
this->ButtionExit2->TabIndex = 5;
this->ButtionExit2->Text = L"退出";
this->ButtionExit2->UseVisualStyleBackColor = true;
this->ButtionExit2->Click += gcnew System::EventHandler(this, &CBookInfoManage::ButtonExit_Click);
//
// ButtionCancel2
//
this->ButtionCancel2->Location = System::Drawing::Point(285, 391);
this->ButtionCancel2->Name = L"ButtionCancel2";
this->ButtionCancel2->Size = System::Drawing::Size(84, 24);
this->ButtionCancel2->TabIndex = 4;
this->ButtionCancel2->Text = L"取消";
this->ButtionCancel2->UseVisualStyleBackColor = true;
this->ButtionCancel2->Click += gcnew System::EventHandler(this, &CBookInfoManage::ButtionCancel2_Click);
//
// ButtionSave2
//
this->ButtionSave2->Location = System::Drawing::Point(89, 391);
this->ButtionSave2->Name = L"ButtionSave2";
this->ButtionSave2->Size = System::Drawing::Size(84, 24);
this->ButtionSave2->TabIndex = 3;
this->ButtionSave2->Text = L"修改";
this->ButtionSave2->UseVisualStyleBackColor = true;
this->ButtionSave2->Click += gcnew System::EventHandler(this, &CBookInfoManage::ButtionSave2_Click);
//
// panel2
//
this->panel2->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
this->panel2->Controls->Add(this->ISBN2);
this->panel2->Controls->Add(this->BookConcern2);
this->panel2->Controls->Add(this->BookPrice2);
this->panel2->Controls->Add(this->Barcode2);
this->panel2->Controls->Add(this->Author2);
this->panel2->Controls->Add(this->BookName2);
this->panel2->Controls->Add(this->label9);
this->panel2->Controls->Add(this->label10);
this->panel2->Controls->Add(this->label11);
this->panel2->Controls->Add(this->label12);
this->panel2->Controls->Add(this->label13);
this->panel2->Controls->Add(this->label14);
this->panel2->Location = System::Drawing::Point(16, 249);
this->panel2->Name = L"panel2";
this->panel2->Size = System::Drawing::Size(464, 136);
this->panel2->TabIndex = 2;
//
// ISBN2
//
this->ISBN2->Location = System::Drawing::Point(284, 85);
this->ISBN2->Name = L"ISBN2";
this->ISBN2->Size = System::Drawing::Size(135, 21);
this->ISBN2->TabIndex = 11;
//
// BookConcern2
//
this->BookConcern2->AcceptsReturn = true;
this->BookConcern2->Location = System::Drawing::Point(284, 51);
this->BookConcern2->Name = L"BookConcern2";
this->BookConcern2->Size = System::Drawing::Size(135, 21);
this->BookConcern2->TabIndex = 10;
//
// BookPrice2
//
this->BookPrice2->Location = System::Drawing::Point(284, 20);
this->BookPrice2->Name = L"BookPrice2";
this->BookPrice2->Size = System::Drawing::Size(135, 21);
this->BookPrice2->TabIndex = 9;
this->BookPrice2->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &CBookInfoManage::BookPrice_KeyPress);
//
// Barcode2
//
this->Barcode2->Location = System::Drawing::Point(85, 85);
this->Barcode2->Name = L"Barcode2";
this->Barcode2->Size = System::Drawing::Size(135, 21);
this->Barcode2->TabIndex = 8;
//
// Author2
//
this->Author2->Location = System::Drawing::Point(85, 51);
this->Author2->Name = L"Author2";
this->Author2->Size = System::Drawing::Size(135, 21);
this->Author2->TabIndex = 7;
//
// BookName2
//
this->BookName2->Location = System::Drawing::Point(85, 20);
this->BookName2->Name = L"BookName2";
this->BookName2->Size = System::Drawing::Size(135, 21);
this->BookName2->TabIndex = 6;
//
// label9
//
this->label9->AutoSize = true;
this->label9->Location = System::Drawing::Point(249, 88);
this->label9->Name = L"label9";
this->label9->Size = System::Drawing::Size(29, 12);
this->label9->TabIndex = 5;
this->label9->Text = L"书号";
//
// label10
//
this->label10->AutoSize = true;
this->label10->Location = System::Drawing::Point(237, 54);
this->label10->Name = L"label10";
this->label10->Size = System::Drawing::Size(41, 12);
this->label10->TabIndex = 4;
this->label10->Text = L"出版社";
//
// label11
//
this->label11->AutoSize = true;
this->label11->Location = System::Drawing::Point(249, 23);
this->label11->Name = L"label11";
this->label11->Size = System::Drawing::Size(29, 12);
this->label11->TabIndex = 3;
this->label11->Text = L"价格";
//
// label12
//
this->label12->AutoSize = true;
this->label12->Location = System::Drawing::Point(37, 88);
this->label12->Name = L"label12";
this->label12->Size = System::Drawing::Size(41, 12);
this->label12->TabIndex = 2;
this->label12->Text = L"条形码";
//
// label13
//
this->label13->AutoSize = true;
this->label13->Location = System::Drawing::Point(49, 54);
this->label13->Name = L"label13";
this->label13->Size = System::Drawing::Size(29, 12);
this->label13->TabIndex = 1;
this->label13->Text = L"作者";
//
// label14
//
this->label14->AutoSize = true;
this->label14->Location = System::Drawing::Point(25, 23);
this->label14->Name = L"label14";
this->label14->Size = System::Drawing::Size(53, 12);
this->label14->TabIndex = 0;
this->label14->Text = L"书籍名称";
//
// BookList
//
this->BookList->AllowUserToDeleteRows = false;
this->BookList->ColumnHeadersHeight = 20;
this->BookList->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^ >(6) {this->Colum1, this->Column2,
this->Column3, this->Column4, this->Column5, this->Column6});
this->BookList->GridColor = System::Drawing::SystemColors::InfoText;
this->BookList->Location = System::Drawing::Point(16, 77);
this->BookList->MultiSelect = false;
this->BookList->Name = L"BookList";
this->BookList->ReadOnly = true;
this->BookList->RowHeadersBorderStyle = System::Windows::Forms::DataGridViewHeaderBorderStyle::None;
this->BookList->RowHeadersVisible = false;
this->BookList->RowHeadersWidth = 35;
this->BookList->RowTemplate->Height = 20;
this->BookList->RowTemplate->Resizable = System::Windows::Forms::DataGridViewTriState::False;
this->BookList->Size = System::Drawing::Size(464, 158);
this->BookList->TabIndex = 1;
this->BookList->CellClick += gcnew System::Windows::Forms::DataGridViewCellEventHandler(this, &CBookInfoManage::BookList_CellClick);
//
// Colum1
//
this->Colum1->DividerWidth = 1;
this->Colum1->HeaderText = L"图书名称";
this->Colum1->Name = L"Colum1";
this->Colum1->ReadOnly = true;
this->Colum1->Width = 150;
//
// Column2
//
this->Column2->HeaderText = L"作者";
this->Column2->Name = L"Column2";
this->Column2->ReadOnly = true;
this->Column2->Width = 80;
//
// Column3
//
this->Column3->HeaderText = L"条形码";
this->Column3->Name = L"Column3";
this->Column3->ReadOnly = true;
this->Column3->Width = 120;
//
// Column4
//
this->Column4->HeaderText = L"图书价格";
this->Column4->Name = L"Column4";
this->Column4->ReadOnly = true;
//
// Column5
//
this->Column5->HeaderText = L"出版社";
this->Column5->Name = L"Column5";
this->Column5->ReadOnly = true;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -