📄 form1.h
字号:
this->bindingNavigator1 = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->toolStripButton1 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripLabel1 = (gcnew System::Windows::Forms::ToolStripLabel());
this->toolStripButton2 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripButton3 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripButton4 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->toolStripTextBox1 = (gcnew System::Windows::Forms::ToolStripTextBox());
this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->toolStripButton5 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripButton6 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripSeparator3 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->toolStripButton7 = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigator2 = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->toolStripButton8 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripLabel2 = (gcnew System::Windows::Forms::ToolStripLabel());
this->toolStripButton9 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripButton10 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripButton11 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripSeparator4 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->toolStripTextBox2 = (gcnew System::Windows::Forms::ToolStripTextBox());
this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->toolStripButton12 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripButton13 = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripSeparator6 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->toolStripButton14 = (gcnew System::Windows::Forms::ToolStripButton());
this->ProductsBindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->ProductsTableAdapter = (gcnew Ex22_05::DataSet1TableAdapters::ProductsTableAdapter());
this->ProductsDataGridView = (gcnew System::Windows::Forms::DataGridView());
this->dataGridViewTextBoxColumn29 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn30 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn31 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn32 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn33 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn34 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn35 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn36 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn37 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewCheckBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewCheckBoxColumn());
this->tabControl1->SuspendLayout();
this->tabPage1->SuspendLayout();
this->tabPage2->SuspendLayout();
this->tabPage3->SuspendLayout();
this->panel1->SuspendLayout();
this->panel2->SuspendLayout();
this->panel3->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->DataSet1))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->EmployeesBindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->EmployeesBindingNavigator))->BeginInit();
this->EmployeesBindingNavigator->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->EmployeesDataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->CustomersBindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->CustomersDataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->bindingNavigator1))->BeginInit();
this->bindingNavigator1->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->bindingNavigator2))->BeginInit();
this->bindingNavigator2->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->ProductsBindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->ProductsDataGridView))->BeginInit();
this->SuspendLayout();
//
// tabControl1
//
this->tabControl1->Controls->Add(this->tabPage1);
this->tabControl1->Controls->Add(this->tabPage2);
this->tabControl1->Controls->Add(this->tabPage3);
this->tabControl1->Dock = System::Windows::Forms::DockStyle::Fill;
this->tabControl1->Location = System::Drawing::Point(0, 0);
this->tabControl1->Name = L"tabControl1";
this->tabControl1->SelectedIndex = 0;
this->tabControl1->Size = System::Drawing::Size(389, 262);
this->tabControl1->TabIndex = 0;
//
// tabPage1
//
this->tabPage1->AutoScroll = true;
this->tabPage1->Controls->Add(this->panel3);
this->tabPage1->Location = System::Drawing::Point(4, 22);
this->tabPage1->Name = L"tabPage1";
this->tabPage1->Padding = System::Windows::Forms::Padding(3);
this->tabPage1->Size = System::Drawing::Size(381, 236);
this->tabPage1->TabIndex = 0;
this->tabPage1->Text = L"Employees";
this->tabPage1->UseVisualStyleBackColor = true;
//
// tabPage2
//
this->tabPage2->AutoScroll = true;
this->tabPage2->Controls->Add(this->panel2);
this->tabPage2->Location = System::Drawing::Point(4, 22);
this->tabPage2->Name = L"tabPage2";
this->tabPage2->Padding = System::Windows::Forms::Padding(3);
this->tabPage2->Size = System::Drawing::Size(381, 236);
this->tabPage2->TabIndex = 1;
this->tabPage2->Text = L"Customers";
this->tabPage2->UseVisualStyleBackColor = true;
//
// tabPage3
//
this->tabPage3->AutoScroll = true;
this->tabPage3->Controls->Add(this->panel1);
this->tabPage3->Location = System::Drawing::Point(4, 22);
this->tabPage3->Name = L"tabPage3";
this->tabPage3->Padding = System::Windows::Forms::Padding(3);
this->tabPage3->Size = System::Drawing::Size(381, 236);
this->tabPage3->TabIndex = 2;
this->tabPage3->Text = L"Products";
this->tabPage3->UseVisualStyleBackColor = true;
//
// panel1
//
this->panel1->Controls->Add(this->ProductsDataGridView);
this->panel1->Controls->Add(this->bindingNavigator2);
this->panel1->Dock = System::Windows::Forms::DockStyle::Fill;
this->panel1->Location = System::Drawing::Point(3, 3);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(375, 230);
this->panel1->TabIndex = 0;
//
// panel2
//
this->panel2->Controls->Add(this->bindingNavigator1);
this->panel2->Controls->Add(this->CustomersDataGridView);
this->panel2->Dock = System::Windows::Forms::DockStyle::Fill;
this->panel2->Location = System::Drawing::Point(3, 3);
this->panel2->Name = L"panel2";
this->panel2->Size = System::Drawing::Size(375, 230);
this->panel2->TabIndex = 0;
//
// panel3
//
this->panel3->Controls->Add(this->EmployeesBindingNavigator);
this->panel3->Controls->Add(this->EmployeesDataGridView);
this->panel3->Dock = System::Windows::Forms::DockStyle::Fill;
this->panel3->Location = System::Drawing::Point(3, 3);
this->panel3->Name = L"panel3";
this->panel3->Size = System::Drawing::Size(375, 230);
this->panel3->TabIndex = 0;
//
// DataSet1
//
this->DataSet1->DataSetName = L"DataSet1";
this->DataSet1->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
//
// EmployeesBindingSource
//
this->EmployeesBindingSource->DataMember = L"Employees";
this->EmployeesBindingSource->DataSource = this->DataSet1;
//
// EmployeesTableAdapter
//
this->EmployeesTableAdapter->ClearBeforeFill = true;
//
// EmployeesBindingNavigator
//
this->EmployeesBindingNavigator->AddNewItem = this->bindingNavigatorAddNewItem;
this->EmployeesBindingNavigator->BindingSource = this->EmployeesBindingSource;
this->EmployeesBindingNavigator->CountItem = this->bindingNavigatorCountItem;
this->EmployeesBindingNavigator->DeleteItem = this->bindingNavigatorDeleteItem;
this->EmployeesBindingNavigator->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(12) {this->bindingNavigatorMoveFirstItem,
this->bindingNavigatorMovePreviousItem, this->bindingNavigatorSeparator, this->bindingNavigatorPositionItem, this->bindingNavigatorCountItem,
this->bindingNavigatorSeparator1, this->bindingNavigatorMoveNextItem, this->bindingNavigatorMoveLastItem, this->bindingNavigatorSeparator2,
this->bindingNavigatorAddNewItem, this->bindingNavigatorDeleteItem, this->EmployeesBindingNavigatorSaveItem});
this->EmployeesBindingNavigator->Location = System::Drawing::Point(0, 0);
this->EmployeesBindingNavigator->MoveFirstItem = this->bindingNavigatorMoveFirstItem;
this->EmployeesBindingNavigator->MoveLastItem = this->bindingNavigatorMoveLastItem;
this->EmployeesBindingNavigator->MoveNextItem = this->bindingNavigatorMoveNextItem;
this->EmployeesBindingNavigator->MovePreviousItem = this->bindingNavigatorMovePreviousItem;
this->EmployeesBindingNavigator->Name = L"EmployeesBindingNavigator";
this->EmployeesBindingNavigator->PositionItem = this->bindingNavigatorPositionItem;
this->EmployeesBindingNavigator->Size = System::Drawing::Size(375, 25);
this->EmployeesBindingNavigator->TabIndex = 1;
this->EmployeesBindingNavigator->Text = L"bindingNavigator1";
//
// bindingNavigatorMoveFirstItem
//
this->bindingNavigatorMoveFirstItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->bindingNavigatorMoveFirstItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"bindingNavigatorMoveFirstItem.Image")));
this->bindingNavigatorMoveFirstItem->Name = L"bindingNavigatorMoveFirstItem";
this->bindingNavigatorMoveFirstItem->RightToLeftAutoMirrorImage = true;
this->bindingNavigatorMoveFirstItem->Size = System::Drawing::Size(23, 22);
this->bindingNavigatorMoveFirstItem->Text = L"Move first";
//
// bindingNavigatorMovePreviousItem
//
this->bindingNavigatorMovePreviousItem->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
this->bindingNavigatorMovePreviousItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"bindingNavigatorMovePreviousItem.Image")));
this->bindingNavigatorMovePreviousItem->Name = L"bindingNavigatorMovePreviousItem";
this->bindingNavigatorMovePreviousItem->RightToLeftAutoMirrorImage = true;
this->bindingNavigatorMovePreviousItem->Size = System::Drawing::Size(23, 22);
this->bindingNavigatorMovePreviousItem->Text = L"Move previous";
//
// bindingNavigatorSeparator
//
this->bindingNavigatorSeparator->Name = L"bindingNavigatorSeparator";
this->bindingNavigatorSeparator->Size = System::Drawing::Size(6, 25);
//
// bindingNavigatorPositionItem
//
this->bindingNavigatorPositionItem->AccessibleName = L"Position";
this->bindingNavigatorPositionItem->AutoSize = false;
this->bindingNavigatorPositionItem->Name = L"bindingNavigatorPositionItem";
this->bindingNavigatorPositionItem->Size = System::Drawing::Size(50, 23);
this->bindingNavigatorPositionItem->Text = L"0";
this->bindingNavigatorPositionItem->ToolTipText = L"Current position";
//
// bindingNavigatorCountItem
//
this->bindingNavigatorCountItem->Name = L"bindingNavigatorCountItem";
this->bindingNavigatorCountItem->Size = System::Drawing::Size(42, 22);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -