⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 coutstore.h

📁 MFC程序开发参考大全 【明日科技】宋坤 刘锐宁 李伟明 【丛 书 名】 软件工程师典藏 【出 版 社】 人民邮电出版社 本书详细介绍了MFC框架中所有常用类及控件的应用
💻 H
📖 第 1 页 / 共 3 页
字号:
			this->label5->ForeColor = System::Drawing::SystemColors::ControlText;
			this->label5->Location = System::Drawing::Point(184, 442);
			this->label5->Name = L"label5";
			this->label5->Size = System::Drawing::Size(41, 12);
			this->label5->TabIndex = 23;
			this->label5->Text = L"总金额";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->ForeColor = System::Drawing::SystemColors::ControlText;
			this->label4->Location = System::Drawing::Point(21, 441);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(41, 12);
			this->label4->TabIndex = 22;
			this->label4->Text = L"总数量";
			// 
			// groupBox1
			// 
			this->groupBox1->Controls->Add(this->Author);
			this->groupBox1->Controls->Add(this->label10);
			this->groupBox1->Controls->Add(this->BookRebate);
			this->groupBox1->Controls->Add(this->label9);
			this->groupBox1->Controls->Add(this->BookNum);
			this->groupBox1->Controls->Add(this->label8);
			this->groupBox1->Controls->Add(this->BookPrice);
			this->groupBox1->Controls->Add(this->label7);
			this->groupBox1->Controls->Add(this->BookName);
			this->groupBox1->Controls->Add(this->label6);
			this->groupBox1->Location = System::Drawing::Point(24, 94);
			this->groupBox1->Name = L"groupBox1";
			this->groupBox1->Size = System::Drawing::Size(637, 61);
			this->groupBox1->TabIndex = 29;
			this->groupBox1->TabStop = false;
			// 
			// Author
			// 
			this->Author->Location = System::Drawing::Point(258, 21);
			this->Author->Name = L"Author";
			this->Author->ReadOnly = true;
			this->Author->Size = System::Drawing::Size(62, 21);
			this->Author->TabIndex = 1;
			this->Author->TabStop = false;
			this->Author->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			this->Author->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &COutStore::Author_KeyPress);
			this->Author->TextChanged += gcnew System::EventHandler(this, &COutStore::Author_TextChanged);
			this->Author->KeyDown += gcnew System::Windows::Forms::KeyEventHandler(this, &COutStore::BookName_KeyDown);
			// 
			// label10
			// 
			this->label10->AutoSize = true;
			this->label10->Location = System::Drawing::Point(225, 26);
			this->label10->Name = L"label10";
			this->label10->Size = System::Drawing::Size(29, 12);
			this->label10->TabIndex = 6;
			this->label10->Text = L"作者";
			// 
			// BookRebate
			// 
			this->BookRebate->Location = System::Drawing::Point(558, 21);
			this->BookRebate->Name = L"BookRebate";
			this->BookRebate->Size = System::Drawing::Size(62, 21);
			this->BookRebate->TabIndex = 4;
			this->BookRebate->Text = L"1.0";
			this->BookRebate->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			this->BookRebate->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &COutStore::BookNum_KeyPress);
			this->BookRebate->KeyDown += gcnew System::Windows::Forms::KeyEventHandler(this, &COutStore::BookName_KeyDown);
			// 
			// label9
			// 
			this->label9->AutoSize = true;
			this->label9->Location = System::Drawing::Point(526, 26);
			this->label9->Name = L"label9";
			this->label9->Size = System::Drawing::Size(29, 12);
			this->label9->TabIndex = 9;
			this->label9->Text = L"折扣";
			// 
			// BookNum
			// 
			this->BookNum->Location = System::Drawing::Point(459, 21);
			this->BookNum->Name = L"BookNum";
			this->BookNum->Size = System::Drawing::Size(62, 21);
			this->BookNum->TabIndex = 3;
			this->BookNum->Text = L"0";
			this->BookNum->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			this->BookNum->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &COutStore::BookNum_KeyPress);
			this->BookNum->KeyDown += gcnew System::Windows::Forms::KeyEventHandler(this, &COutStore::BookName_KeyDown);
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Location = System::Drawing::Point(425, 26);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(29, 12);
			this->label8->TabIndex = 8;
			this->label8->Text = L"数量";
			// 
			// BookPrice
			// 
			this->BookPrice->Location = System::Drawing::Point(356, 21);
			this->BookPrice->Name = L"BookPrice";
			this->BookPrice->Size = System::Drawing::Size(62, 21);
			this->BookPrice->TabIndex = 2;
			this->BookPrice->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			this->BookPrice->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &COutStore::BookNum_KeyPress);
			this->BookPrice->KeyDown += gcnew System::Windows::Forms::KeyEventHandler(this, &COutStore::BookName_KeyDown);
			// 
			// label7
			// 
			this->label7->AutoSize = true;
			this->label7->Location = System::Drawing::Point(325, 26);
			this->label7->Name = L"label7";
			this->label7->Size = System::Drawing::Size(29, 12);
			this->label7->TabIndex = 7;
			this->label7->Text = L"价格";
			// 
			// BookName
			// 
			this->BookName->Location = System::Drawing::Point(71, 21);
			this->BookName->Name = L"BookName";
			this->BookName->Size = System::Drawing::Size(148, 21);
			this->BookName->TabIndex = 0;
			this->BookName->TabStop = false;
			this->BookName->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			this->BookName->TextChanged += gcnew System::EventHandler(this, &COutStore::BookName_TextChanged);
			this->BookName->KeyDown += gcnew System::Windows::Forms::KeyEventHandler(this, &COutStore::BookName_KeyDown);
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->Location = System::Drawing::Point(14, 26);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(53, 12);
			this->label6->TabIndex = 5;
			this->label6->Text = L"图书名称";
			// 
			// button3
			// 
			this->button3->Location = System::Drawing::Point(553, 436);
			this->button3->Name = L"button3";
			this->button3->Size = System::Drawing::Size(75, 23);
			this->button3->TabIndex = 28;
			this->button3->Text = L"退出";
			this->button3->UseVisualStyleBackColor = true;
			this->button3->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			this->button3->Click += gcnew System::EventHandler(this, &COutStore::button3_Click);
			// 
			// BookList
			// 
			this->BookList->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(6) {this->Column1, this->Column6, 
				this->Column2, this->Column3, this->Column4, this->Column5});
			dataGridViewCellStyle1->Alignment = System::Windows::Forms::DataGridViewContentAlignment::MiddleLeft;
			dataGridViewCellStyle1->BackColor = System::Drawing::SystemColors::Window;
			dataGridViewCellStyle1->Font = (gcnew System::Drawing::Font(L"宋体", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(134)));
			dataGridViewCellStyle1->ForeColor = System::Drawing::SystemColors::ControlText;
			dataGridViewCellStyle1->SelectionBackColor = System::Drawing::Color::White;
			dataGridViewCellStyle1->SelectionForeColor = System::Drawing::Color::Black;
			dataGridViewCellStyle1->WrapMode = System::Windows::Forms::DataGridViewTriState::False;
			this->BookList->DefaultCellStyle = dataGridViewCellStyle1;
			this->BookList->Location = System::Drawing::Point(24, 174);
			this->BookList->Name = L"BookList";
			this->BookList->RowHeadersVisible = false;
			this->BookList->RowTemplate->Height = 23;
			this->BookList->RowTemplate->ReadOnly = true;
			this->BookList->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
			this->BookList->Size = System::Drawing::Size(637, 232);
			this->BookList->TabIndex = 16;
			this->BookList->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			this->BookList->KeyDown += gcnew System::Windows::Forms::KeyEventHandler(this, &COutStore::BookList_KeyDown);
			this->BookList->RowsRemoved += gcnew System::Windows::Forms::DataGridViewRowsRemovedEventHandler(this, &COutStore::BookList_RowsRemoved);
			// 
			// Column1
			// 
			this->Column1->HeaderText = L"图书名称";
			this->Column1->Name = L"Column1";
			this->Column1->ReadOnly = true;
			this->Column1->Width = 200;
			// 
			// Column6
			// 
			this->Column6->HeaderText = L"作者";
			this->Column6->Name = L"Column6";
			this->Column6->ReadOnly = true;
			this->Column6->Width = 80;
			// 
			// 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 = 80;
			// 
			// Column4
			// 
			this->Column4->HeaderText = L"折扣";
			this->Column4->Name = L"Column4";
			this->Column4->ReadOnly = true;
			this->Column4->Width = 80;
			// 
			// Column5
			// 
			this->Column5->HeaderText = L"小计";
			this->Column5->Name = L"Column5";
			this->Column5->ReadOnly = true;
			this->Column5->Width = 95;
			// 
			// Operator
			// 
			this->Operator->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
			this->Operator->Enabled = false;
			this->Operator->Location = System::Drawing::Point(81, 67);
			this->Operator->Name = L"Operator";
			this->Operator->Size = System::Drawing::Size(97, 21);
			this->Operator->TabIndex = 21;
			this->Operator->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			// 
			// dateTime1
			// 
			this->dateTime1->Location = System::Drawing::Point(541, 67);
			this->dateTime1->Name = L"dateTime1";
			this->dateTime1->Size = System::Drawing::Size(120, 21);
			this->dateTime1->TabIndex = 20;
			this->dateTime1->Enter += gcnew System::EventHandler(this, &COutStore::BookName_Enter);
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->ForeColor = System::Drawing::Color::Black;
			this->label3->Location = System::Drawing::Point(496, 71);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(29, 12);
			this->label3->TabIndex = 19;
			this->label3->Text = L"时间";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->ForeColor = System::Drawing::Color::Black;
			this->label2->Location = System::Drawing::Point(22, 71);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(41, 12);
			this->label2->TabIndex = 18;
			this->label2->Text = L"操作员";
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->BackColor = System::Drawing::Color::Transparent;
			this->label1->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->label1->Font = (gcnew System::Drawing::Font(L"隶书", 21.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(134)));
			this->label1->ForeColor = System::Drawing::Color::Red;
			this->label1->Location = System::Drawing::Point(229, 18);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(199, 29);
			this->label1->TabIndex = 17;
			this->label1->Text = L"图书出库管理";
			// 
			// AuList
			// 
			this->AuList->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
			this->AuList->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(5) {this->dataGridViewTextBoxColumn1, 
				this->dataGridViewTextBoxColumn2, this->dataGridViewTextBoxColumn3, this->dataGridViewTextBoxColumn4, this->dataGridViewTextBoxColumn5});
			this->AuList->Location = System::Drawing::Point(95, 142);
			this->AuList->MultiSelect = false;
			this->AuList->Name = L"AuList";
			this->AuList->RowHeadersVisible = false;
			this->AuList->RowTemplate->Height = 20;
			this->AuList->SelectionMode = System::Windows::Forms::DataGridViewSelectionMode::FullRowSelect;
			this->AuList->Size = System::Drawing::Size(519, 122);
			this->AuList->TabIndex = 31;
			this->AuList->Visible = false;
			this->AuList->KeyDown += gcnew System::Windows::Forms::KeyEventHandler(this, &COutStore::AuList_KeyDown);
			this->AuList->CellDoubleClick += gcnew System::Windows::Forms::DataGridViewCellEventHandler(this, &COutStore::AuList_CellDoubleClick);
			this->AuList->Leave += gcnew System::EventHandler(this, &COutStore::AuList_Leave);
			// 
			// dataGridViewTextBoxColumn1
			// 
			this->dataGridViewTextBoxColumn1->HeaderText = L"图书名称";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -