📄 jinhuobaobiao.h
字号:
#pragma once
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
namespace ruanjian
{
/// <summary>
/// jinhuobaobiao 摘要
///
/// 警告: 如果您更改该类的名称,则将需要更改
/// 与该类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。 否则,
/// 设计器将不能与此窗体关联的
/// 本地化资源正确交互。
/// </summary>
public __gc class jinhuobaobiao : public System::Windows::Forms::Form
{
public:
jinhuobaobiao(void)
{
InitializeComponent();
}
protected:
void Dispose(Boolean disposing)
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
private: System::Windows::Forms::Label * label1;
private: System::Windows::Forms::TextBox * textBox1;
private: System::Windows::Forms::Button * button1;
private: System::Windows::Forms::Label * label2;
private: System::Windows::Forms::TextBox * textBox2;
private: System::Windows::Forms::Button * button2;
private: System::Windows::Forms::DataGrid * dataGrid1;
private: System::Windows::Forms::DataGrid * dataGrid2;
private: System::Data::OleDb::OleDbDataAdapter * oleDbDataAdapter1;
private: System::Data::OleDb::OleDbConnection * oleDbConnection1;
private: System::Data::OleDb::OleDbDataAdapter * oleDbDataAdapter2;
private: System::Data::OleDb::OleDbDataAdapter * oleDbDataAdapter3;
private: System::Data::OleDb::OleDbDataAdapter * oleDbDataAdapter4;
private: System::Windows::Forms::Button * button3;
private: System::Windows::Forms::TextBox * textBox3;
private: System::Windows::Forms::DataGrid * dataGrid3;
private: System::Windows::Forms::Label * label3;
private: System::Windows::Forms::Label * label4;
private: System::Data::OleDb::OleDbCommand * oleDbSelectCommand3;
private: System::Data::OleDb::OleDbCommand * oleDbInsertCommand3;
private: System::Data::OleDb::OleDbCommand * oleDbUpdateCommand3;
private: System::Data::OleDb::OleDbCommand * oleDbDeleteCommand3;
private: System::Data::OleDb::OleDbCommand * oleDbSelectCommand4;
private: System::Data::OleDb::OleDbCommand * oleDbInsertCommand4;
private: System::Data::OleDb::OleDbCommand * oleDbSelectCommand1;
private: System::Data::OleDb::OleDbCommand * oleDbInsertCommand1;
private: System::Data::OleDb::OleDbCommand * oleDbUpdateCommand1;
private: System::Data::OleDb::OleDbCommand * oleDbDeleteCommand1;
private: System::Data::OleDb::OleDbCommand * oleDbSelectCommand2;
private: System::Data::OleDb::OleDbCommand * oleDbInsertCommand2;
private: System::Data::OleDb::OleDbCommand * oleDbUpdateCommand2;
private: System::Data::OleDb::OleDbCommand * oleDbDeleteCommand2;
private:
/// <summary>
/// 必需的设计器变量。
/// </summary>
System::ComponentModel::Container* components;
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
void InitializeComponent(void)
{
this->label1 = new System::Windows::Forms::Label();
this->textBox1 = new System::Windows::Forms::TextBox();
this->button1 = new System::Windows::Forms::Button();
this->label2 = new System::Windows::Forms::Label();
this->textBox2 = new System::Windows::Forms::TextBox();
this->button2 = new System::Windows::Forms::Button();
this->dataGrid1 = new System::Windows::Forms::DataGrid();
this->dataGrid2 = new System::Windows::Forms::DataGrid();
this->oleDbDataAdapter1 = new System::Data::OleDb::OleDbDataAdapter();
this->oleDbConnection1 = new System::Data::OleDb::OleDbConnection();
this->oleDbDataAdapter2 = new System::Data::OleDb::OleDbDataAdapter();
this->oleDbDataAdapter3 = new System::Data::OleDb::OleDbDataAdapter();
this->oleDbDataAdapter4 = new System::Data::OleDb::OleDbDataAdapter();
this->button3 = new System::Windows::Forms::Button();
this->textBox3 = new System::Windows::Forms::TextBox();
this->dataGrid3 = new System::Windows::Forms::DataGrid();
this->label3 = new System::Windows::Forms::Label();
this->label4 = new System::Windows::Forms::Label();
this->oleDbSelectCommand3 = new System::Data::OleDb::OleDbCommand();
this->oleDbInsertCommand3 = new System::Data::OleDb::OleDbCommand();
this->oleDbUpdateCommand3 = new System::Data::OleDb::OleDbCommand();
this->oleDbDeleteCommand3 = new System::Data::OleDb::OleDbCommand();
this->oleDbSelectCommand4 = new System::Data::OleDb::OleDbCommand();
this->oleDbInsertCommand4 = new System::Data::OleDb::OleDbCommand();
this->oleDbSelectCommand1 = new System::Data::OleDb::OleDbCommand();
this->oleDbInsertCommand1 = new System::Data::OleDb::OleDbCommand();
this->oleDbUpdateCommand1 = new System::Data::OleDb::OleDbCommand();
this->oleDbDeleteCommand1 = new System::Data::OleDb::OleDbCommand();
this->oleDbSelectCommand2 = new System::Data::OleDb::OleDbCommand();
this->oleDbInsertCommand2 = new System::Data::OleDb::OleDbCommand();
this->oleDbUpdateCommand2 = new System::Data::OleDb::OleDbCommand();
this->oleDbDeleteCommand2 = new System::Data::OleDb::OleDbCommand();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGrid1))->BeginInit();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGrid2))->BeginInit();
(__try_cast<System::ComponentModel::ISupportInitialize * >(this->dataGrid3))->BeginInit();
this->SuspendLayout();
//
// label1
//
this->label1->Font = new System::Drawing::Font(S"宋体", 10.5F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, (System::Byte)134);
this->label1->Location = System::Drawing::Point(16, 24);
this->label1->Name = S"label1";
this->label1->Size = System::Drawing::Size(72, 23);
this->label1->TabIndex = 0;
this->label1->Text = S"物品ID:";
this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(88, 24);
this->textBox1->Name = S"textBox1";
this->textBox1->TabIndex = 1;
this->textBox1->Text = S"";
//
// button1
//
this->button1->Location = System::Drawing::Point(200, 24);
this->button1->Name = S"button1";
this->button1->Size = System::Drawing::Size(40, 24);
this->button1->TabIndex = 2;
this->button1->Text = S"查询";
this->button1->Click += new System::EventHandler(this, button1_Click);
//
// label2
//
this->label2->Font = new System::Drawing::Font(S"宋体", 10.5F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, (System::Byte)134);
this->label2->Location = System::Drawing::Point(248, 24);
this->label2->Name = S"label2";
this->label2->Size = System::Drawing::Size(56, 23);
this->label2->TabIndex = 3;
this->label2->Text = S"数量:";
this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(296, 24);
this->textBox2->Name = S"textBox2";
this->textBox2->Size = System::Drawing::Size(64, 21);
this->textBox2->TabIndex = 4;
this->textBox2->Text = S"";
//
// button2
//
this->button2->Font = new System::Drawing::Font(S"宋体", 10.5F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, (System::Byte)134);
this->button2->Location = System::Drawing::Point(440, 176);
this->button2->Name = S"button2";
this->button2->Size = System::Drawing::Size(75, 32);
this->button2->TabIndex = 5;
this->button2->Text = S"提交";
this->button2->Click += new System::EventHandler(this, button2_Click);
//
// dataGrid1
//
this->dataGrid1->DataMember = S"";
this->dataGrid1->HeaderForeColor = System::Drawing::SystemColors::ControlText;
this->dataGrid1->Location = System::Drawing::Point(24, 168);
this->dataGrid1->Name = S"dataGrid1";
this->dataGrid1->Size = System::Drawing::Size(392, 248);
this->dataGrid1->TabIndex = 6;
//
// dataGrid2
//
this->dataGrid2->DataMember = S"";
this->dataGrid2->HeaderForeColor = System::Drawing::SystemColors::ControlText;
this->dataGrid2->Location = System::Drawing::Point(200, 224);
this->dataGrid2->Name = S"dataGrid2";
this->dataGrid2->Size = System::Drawing::Size(152, 88);
this->dataGrid2->TabIndex = 7;
//
// oleDbDataAdapter1
//
this->oleDbDataAdapter1->DeleteCommand = this->oleDbDeleteCommand1;
this->oleDbDataAdapter1->InsertCommand = this->oleDbInsertCommand1;
this->oleDbDataAdapter1->SelectCommand = this->oleDbSelectCommand1;
System::Data::Common::DataTableMapping* __mcTemp__1[] = new System::Data::Common::DataTableMapping*[1];
System::Data::Common::DataColumnMapping* __mcTemp__2[] = new System::Data::Common::DataColumnMapping*[7];
__mcTemp__2[0] = new System::Data::Common::DataColumnMapping(S"NID", S"NID");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -