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

📄 booksubscribe.h

📁 Visual C++.net数据库开发经典案例
💻 H
📖 第 1 页 / 共 3 页
字号:
			this->groupBox1->Controls->Add(this->btnSubmitOrder);
			this->groupBox1->Controls->Add(this->tBoxBookID);
			this->groupBox1->Controls->Add(this->label2);
			this->groupBox1->Controls->Add(this->tBoxOrderCode);
			this->groupBox1->Controls->Add(this->label1);
			this->groupBox1->Controls->Add(this->btnSearch);
			this->groupBox1->Dock = System::Windows::Forms::DockStyle::Top;
			this->groupBox1->Location = System::Drawing::Point(0, 41);
			this->groupBox1->Name = S"groupBox1";
			this->groupBox1->Size = System::Drawing::Size(760, 79);
			this->groupBox1->TabIndex = 1;
			this->groupBox1->TabStop = false;
			// 
			// btnSubmitOrder
			// 
			this->btnSubmitOrder->Location = System::Drawing::Point(544, 37);
			this->btnSubmitOrder->Name = S"btnSubmitOrder";
			this->btnSubmitOrder->Size = System::Drawing::Size(192, 24);
			this->btnSubmitOrder->TabIndex = 5;
			this->btnSubmitOrder->Text = S"提交征订(验收)";
			this->btnSubmitOrder->Click += new System::EventHandler(this, btnSubmitOrder_Click);
			// 
			// tBoxBookID
			// 
			this->tBoxBookID->Location = System::Drawing::Point(408, 39);
			this->tBoxBookID->Name = S"tBoxBookID";
			this->tBoxBookID->Size = System::Drawing::Size(120, 21);
			this->tBoxBookID->TabIndex = 4;
			this->tBoxBookID->Text = S"";
			// 
			// label2
			// 
			this->label2->Location = System::Drawing::Point(344, 44);
			this->label2->Name = S"label2";
			this->label2->Size = System::Drawing::Size(56, 11);
			this->label2->TabIndex = 3;
			this->label2->Text = S"图书编号";
			// 
			// tBoxOrderCode
			// 
			this->tBoxOrderCode->Location = System::Drawing::Point(208, 40);
			this->tBoxOrderCode->Name = S"tBoxOrderCode";
			this->tBoxOrderCode->Size = System::Drawing::Size(120, 21);
			this->tBoxOrderCode->TabIndex = 2;
			this->tBoxOrderCode->Text = S"";
			// 
			// label1
			// 
			this->label1->Location = System::Drawing::Point(144, 45);
			this->label1->Name = S"label1";
			this->label1->Size = System::Drawing::Size(56, 11);
			this->label1->TabIndex = 1;
			this->label1->Text = S"征订编号";
			// 
			// btnSearch
			// 
			this->btnSearch->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
			this->btnSearch->ImageIndex = 6;
			this->btnSearch->ImageList = this->imageList1;
			this->btnSearch->Location = System::Drawing::Point(64, 40);
			this->btnSearch->Name = S"btnSearch";
			this->btnSearch->Size = System::Drawing::Size(56, 24);
			this->btnSearch->TabIndex = 0;
			this->btnSearch->Text = S"搜索";
			this->btnSearch->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
			this->btnSearch->Click += new System::EventHandler(this, btnSearch_Click);
			// 
			// dgrdBooks
			// 
			this->dgrdBooks->DataMember = S"";
			this->dgrdBooks->Dock = System::Windows::Forms::DockStyle::Fill;
			this->dgrdBooks->HeaderForeColor = System::Drawing::SystemColors::ControlText;
			this->dgrdBooks->Location = System::Drawing::Point(0, 120);
			this->dgrdBooks->Name = S"dgrdBooks";
			this->dgrdBooks->Size = System::Drawing::Size(760, 133);
			this->dgrdBooks->TabIndex = 2;
			// 
			// groupBox2
			// 
			this->groupBox2->Controls->Add(this->tBoxBookName);
			this->groupBox2->Controls->Add(this->dtpOrderDate);
			this->groupBox2->Controls->Add(this->label3);
			this->groupBox2->Controls->Add(this->tBoxOperator);
			this->groupBox2->Controls->Add(this->label12);
			this->groupBox2->Controls->Add(this->chkIsChecked);
			this->groupBox2->Controls->Add(this->label8);
			this->groupBox2->Controls->Add(this->tBoxOrderPrice);
			this->groupBox2->Controls->Add(this->tBoxOderBy);
			this->groupBox2->Controls->Add(this->label9);
			this->groupBox2->Controls->Add(this->tBoxContact);
			this->groupBox2->Controls->Add(this->label10);
			this->groupBox2->Controls->Add(this->tBoxBookIDShow);
			this->groupBox2->Controls->Add(this->tBoxOrderCodeShow);
			this->groupBox2->Controls->Add(this->label5);
			this->groupBox2->Controls->Add(this->label7);
			this->groupBox2->Controls->Add(this->label29);
			this->groupBox2->Controls->Add(this->label4);
			this->groupBox2->Controls->Add(this->tBoxOrderQuantity);
			this->groupBox2->Dock = System::Windows::Forms::DockStyle::Bottom;
			this->groupBox2->Location = System::Drawing::Point(0, 253);
			this->groupBox2->Name = S"groupBox2";
			this->groupBox2->Size = System::Drawing::Size(760, 192);
			this->groupBox2->TabIndex = 3;
			this->groupBox2->TabStop = false;
			// 
			// tBoxBookName
			// 
			this->tBoxBookName->Location = System::Drawing::Point(416, 48);
			this->tBoxBookName->Name = S"tBoxBookName";
			this->tBoxBookName->Size = System::Drawing::Size(184, 21);
			this->tBoxBookName->TabIndex = 67;
			this->tBoxBookName->Text = S"";
			this->tBoxBookName->DoubleClick += new System::EventHandler(this, tBoxBookName_DoubleClick);
			// 
			// dtpOrderDate
			// 
			this->dtpOrderDate->Location = System::Drawing::Point(16, 152);
			this->dtpOrderDate->Name = S"dtpOrderDate";
			this->dtpOrderDate->Size = System::Drawing::Size(280, 21);
			this->dtpOrderDate->TabIndex = 66;
			// 
			// label3
			// 
			this->label3->Location = System::Drawing::Point(144, 88);
			this->label3->Name = S"label3";
			this->label3->Size = System::Drawing::Size(80, 11);
			this->label3->TabIndex = 65;
			this->label3->Text = S"操作员";
			// 
			// tBoxOperator
			// 
			this->tBoxOperator->Location = System::Drawing::Point(144, 104);
			this->tBoxOperator->Name = S"tBoxOperator";
			this->tBoxOperator->Size = System::Drawing::Size(112, 21);
			this->tBoxOperator->TabIndex = 61;
			this->tBoxOperator->Text = S"";
			// 
			// label12
			// 
			this->label12->Location = System::Drawing::Point(16, 136);
			this->label12->Name = S"label12";
			this->label12->Size = System::Drawing::Size(56, 11);
			this->label12->TabIndex = 58;
			this->label12->Text = S"订购日期";
			// 
			// chkIsChecked
			// 
			this->chkIsChecked->Location = System::Drawing::Point(496, 104);
			this->chkIsChecked->Name = S"chkIsChecked";
			this->chkIsChecked->TabIndex = 57;
			this->chkIsChecked->Text = S"是否验收";
			// 
			// label8
			// 
			this->label8->Location = System::Drawing::Point(384, 88);
			this->label8->Name = S"label8";
			this->label8->Size = System::Drawing::Size(80, 11);
			this->label8->TabIndex = 16;
			this->label8->Text = S"订购单价";
			// 
			// tBoxOrderPrice
			// 
			this->tBoxOrderPrice->Location = System::Drawing::Point(384, 104);
			this->tBoxOrderPrice->Name = S"tBoxOrderPrice";
			this->tBoxOrderPrice->Size = System::Drawing::Size(104, 21);
			this->tBoxOrderPrice->TabIndex = 12;
			this->tBoxOrderPrice->Text = S"";
			// 
			// tBoxOderBy
			// 
			this->tBoxOderBy->Location = System::Drawing::Point(16, 104);
			this->tBoxOderBy->Name = S"tBoxOderBy";
			this->tBoxOderBy->Size = System::Drawing::Size(120, 21);
			this->tBoxOderBy->TabIndex = 10;
			this->tBoxOderBy->Text = S"";
			// 
			// label9
			// 
			this->label9->Location = System::Drawing::Point(16, 88);
			this->label9->Name = S"label9";
			this->label9->Size = System::Drawing::Size(56, 11);
			this->label9->TabIndex = 9;
			this->label9->Text = S"订购者";
			// 
			// tBoxContact
			// 
			this->tBoxContact->Location = System::Drawing::Point(304, 152);
			this->tBoxContact->Name = S"tBoxContact";
			this->tBoxContact->Size = System::Drawing::Size(288, 21);
			this->tBoxContact->TabIndex = 14;
			this->tBoxContact->Text = S"";
			// 
			// label10
			// 
			this->label10->Location = System::Drawing::Point(304, 136);
			this->label10->Name = S"label10";
			this->label10->Size = System::Drawing::Size(96, 11);
			this->label10->TabIndex = 13;
			this->label10->Text = S"订购者联系方式";
			// 
			// tBoxBookIDShow
			// 
			this->tBoxBookIDShow->Location = System::Drawing::Point(240, 48);
			this->tBoxBookIDShow->Name = S"tBoxBookIDShow";
			this->tBoxBookIDShow->Size = System::Drawing::Size(168, 21);
			this->tBoxBookIDShow->TabIndex = 4;
			this->tBoxBookIDShow->Text = S"";
			this->tBoxBookIDShow->TextChanged += new System::EventHandler(this, tBoxBookIDShow_TextChanged);
			// 
			// tBoxOrderCodeShow
			// 
			this->tBoxOrderCodeShow->Location = System::Drawing::Point(16, 48);
			this->tBoxOrderCodeShow->Name = S"tBoxOrderCodeShow";
			this->tBoxOrderCodeShow->Size = System::Drawing::Size(216, 21);
			this->tBoxOrderCodeShow->TabIndex = 2;
			this->tBoxOrderCodeShow->Text = S"";
			this->tBoxOrderCodeShow->Leave += new System::EventHandler(this, tBoxOrderCodeShow_Leave);
			// 
			// label5
			// 
			this->label5->Location = System::Drawing::Point(16, 32);
			this->label5->Name = S"label5";
			this->label5->Size = System::Drawing::Size(56, 11);
			this->label5->TabIndex = 1;
			this->label5->Text = S"征订编号";
			// 
			// label7
			// 
			this->label7->Location = System::Drawing::Point(240, 32);
			this->label7->Name = S"label7";
			this->label7->Size = System::Drawing::Size(56, 11);
			this->label7->TabIndex = 3;
			this->label7->Text = S"图书编号";
			// 
			// label29
			// 
			this->label29->Location = System::Drawing::Point(416, 32);
			this->label29->Name = S"label29";
			this->label29->Size = System::Drawing::Size(160, 11);
			this->label29->TabIndex = 8;
			this->label29->Text = S"图书名称(双击进行选择)";
			// 
			// label4
			// 
			this->label4->Location = System::Drawing::Point(264, 88);
			this->label4->Name = S"label4";
			this->label4->Size = System::Drawing::Size(80, 11);
			this->label4->TabIndex = 16;
			this->label4->Text = S"订购数量";
			// 
			// tBoxOrderQuantity
			// 
			this->tBoxOrderQuantity->Location = System::Drawing::Point(264, 104);
			this->tBoxOrderQuantity->Name = S"tBoxOrderQuantity";
			this->tBoxOrderQuantity->Size = System::Drawing::Size(112, 21);
			this->tBoxOrderQuantity->TabIndex = 12;
			this->tBoxOrderQuantity->Text = S"";
			// 
			// BookSubscribe
			// 
			this->AutoScaleBaseSize = System::Drawing::Size(6, 14);
			this->ClientSize = System::Drawing::Size(760, 445);
			this->Controls->Add(this->dgrdBooks);
			this->Controls->Add(this->groupBox2);
			this->Controls->Add(this->groupBox1);
			this->Controls->Add(this->toolBar1);
			this->Name = S"BookSubscribe";
			this->Text = S"图书征订";
			this->groupBox1->ResumeLayout(false);
			(__try_cast<System::ComponentModel::ISupportInitialize *  >(this->dgrdBooks))->EndInit();
			this->groupBox2->ResumeLayout(false);
			this->ResumeLayout(false);

		}		
	private:
		//----------------设置控件ReadOnly属性------------------------
		void SetModify(bool isModifiable)
		{

⌨️ 快捷键说明

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