📄 companyform.h
字号:
//
this->法人代表TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"法人代表", true)));
this->法人代表TextBox->Location = System::Drawing::Point(72, 54);
this->法人代表TextBox->Name = L"法人代表TextBox";
this->法人代表TextBox->Size = System::Drawing::Size(180, 21);
this->法人代表TextBox->TabIndex = 25;
//
// 公司地址Label
//
公司地址Label->AutoSize = true;
公司地址Label->Location = System::Drawing::Point(7, 84);
公司地址Label->Name = L"公司地址Label";
公司地址Label->Size = System::Drawing::Size(59, 12);
公司地址Label->TabIndex = 26;
公司地址Label->Text = L"公司地址:";
//
// 公司地址TextBox
//
this->公司地址TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"公司地址", true)));
this->公司地址TextBox->Location = System::Drawing::Point(72, 81);
this->公司地址TextBox->Name = L"公司地址TextBox";
this->公司地址TextBox->Size = System::Drawing::Size(180, 21);
this->公司地址TextBox->TabIndex = 27;
//
// 服务电话Label
//
服务电话Label->AutoSize = true;
服务电话Label->Location = System::Drawing::Point(7, 111);
服务电话Label->Name = L"服务电话Label";
服务电话Label->Size = System::Drawing::Size(59, 12);
服务电话Label->TabIndex = 28;
服务电话Label->Text = L"服务电话:";
//
// 服务电话TextBox
//
this->服务电话TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"服务电话", true)));
this->服务电话TextBox->Location = System::Drawing::Point(72, 108);
this->服务电话TextBox->Name = L"服务电话TextBox";
this->服务电话TextBox->Size = System::Drawing::Size(180, 21);
this->服务电话TextBox->TabIndex = 29;
//
// 邮政编码Label
//
邮政编码Label->AutoSize = true;
邮政编码Label->Location = System::Drawing::Point(7, 138);
邮政编码Label->Name = L"邮政编码Label";
邮政编码Label->Size = System::Drawing::Size(59, 12);
邮政编码Label->TabIndex = 30;
邮政编码Label->Text = L"邮政编码:";
//
// 邮政编码TextBox
//
this->邮政编码TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"邮政编码", true)));
this->邮政编码TextBox->Location = System::Drawing::Point(72, 135);
this->邮政编码TextBox->Name = L"邮政编码TextBox";
this->邮政编码TextBox->Size = System::Drawing::Size(180, 21);
this->邮政编码TextBox->TabIndex = 31;
//
// 电子邮件Label
//
电子邮件Label->AutoSize = true;
电子邮件Label->Location = System::Drawing::Point(258, 30);
电子邮件Label->Name = L"电子邮件Label";
电子邮件Label->Size = System::Drawing::Size(59, 12);
电子邮件Label->TabIndex = 32;
电子邮件Label->Text = L"电子邮件:";
//
// 电子邮件TextBox
//
this->电子邮件TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"电子邮件", true)));
this->电子邮件TextBox->Location = System::Drawing::Point(371, 27);
this->电子邮件TextBox->Name = L"电子邮件TextBox";
this->电子邮件TextBox->Size = System::Drawing::Size(165, 21);
this->电子邮件TextBox->TabIndex = 33;
//
// 公司网站Label
//
公司网站Label->AutoSize = true;
公司网站Label->Location = System::Drawing::Point(258, 57);
公司网站Label->Name = L"公司网站Label";
公司网站Label->Size = System::Drawing::Size(59, 12);
公司网站Label->TabIndex = 34;
公司网站Label->Text = L"公司网站:";
//
// 公司网站TextBox
//
this->公司网站TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"公司网站", true)));
this->公司网站TextBox->Location = System::Drawing::Point(371, 54);
this->公司网站TextBox->Name = L"公司网站TextBox";
this->公司网站TextBox->Size = System::Drawing::Size(165, 21);
this->公司网站TextBox->TabIndex = 35;
//
// 管理系统背景照片Label
//
管理系统背景照片Label->AutoSize = true;
管理系统背景照片Label->Location = System::Drawing::Point(258, 84);
管理系统背景照片Label->Name = L"管理系统背景照片Label";
管理系统背景照片Label->Size = System::Drawing::Size(107, 12);
管理系统背景照片Label->TabIndex = 36;
管理系统背景照片Label->Text = L"管理系统背景照片:";
//
// 管理系统背景照片TextBox
//
this->管理系统背景照片TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"管理系统背景照片",
true)));
this->管理系统背景照片TextBox->Location = System::Drawing::Point(371, 81);
this->管理系统背景照片TextBox->Name = L"管理系统背景照片TextBox";
this->管理系统背景照片TextBox->Size = System::Drawing::Size(165, 21);
this->管理系统背景照片TextBox->TabIndex = 37;
//
// 管理系统显示名称Label
//
管理系统显示名称Label->AutoSize = true;
管理系统显示名称Label->Location = System::Drawing::Point(258, 111);
管理系统显示名称Label->Name = L"管理系统显示名称Label";
管理系统显示名称Label->Size = System::Drawing::Size(107, 12);
管理系统显示名称Label->TabIndex = 38;
管理系统显示名称Label->Text = L"管理系统显示名称:";
//
// 管理系统显示名称TextBox
//
this->管理系统显示名称TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"管理系统显示名称",
true)));
this->管理系统显示名称TextBox->Location = System::Drawing::Point(371, 108);
this->管理系统显示名称TextBox->Name = L"管理系统显示名称TextBox";
this->管理系统显示名称TextBox->Size = System::Drawing::Size(165, 21);
this->管理系统显示名称TextBox->TabIndex = 39;
//
// 显示优先级Label
//
显示优先级Label->AutoSize = true;
显示优先级Label->Location = System::Drawing::Point(258, 138);
显示优先级Label->Name = L"显示优先级Label";
显示优先级Label->Size = System::Drawing::Size(71, 12);
显示优先级Label->TabIndex = 40;
显示优先级Label->Text = L"显示优先级:";
//
// 显示优先级TextBox
//
this->显示优先级TextBox->DataBindings->Add((gcnew System::Windows::Forms::Binding(L"Text", this->公司信息BindingSource, L"显示优先级", true)));
this->显示优先级TextBox->Location = System::Drawing::Point(371, 135);
this->显示优先级TextBox->Name = L"显示优先级TextBox";
this->显示优先级TextBox->Size = System::Drawing::Size(165, 21);
this->显示优先级TextBox->TabIndex = 41;
//
// CompanyForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(542, 416);
this->Controls->Add(this->公司信息DataGridView);
this->Controls->Add(公司名称Label);
this->Controls->Add(this->公司名称TextBox);
this->Controls->Add(法人代表Label);
this->Controls->Add(this->法人代表TextBox);
this->Controls->Add(公司地址Label);
this->Controls->Add(this->公司地址TextBox);
this->Controls->Add(服务电话Label);
this->Controls->Add(this->服务电话TextBox);
this->Controls->Add(邮政编码Label);
this->Controls->Add(this->邮政编码TextBox);
this->Controls->Add(电子邮件Label);
this->Controls->Add(this->电子邮件TextBox);
this->Controls->Add(公司网站Label);
this->Controls->Add(this->公司网站TextBox);
this->Controls->Add(管理系统背景照片Label);
this->Controls->Add(this->管理系统背景照片TextBox);
this->Controls->Add(管理系统显示名称Label);
this->Controls->Add(this->管理系统显示名称TextBox);
this->Controls->Add(显示优先级Label);
this->Controls->Add(this->显示优先级TextBox);
this->Controls->Add(this->公司信息BindingNavigator);
this->Name = L"CompanyForm";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
this->Text = L"登记公司基本信息";
this->Load += gcnew System::EventHandler(this, &CompanyForm::CompanyForm_Load);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->MyAssetsDataSet))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->公司信息BindingSource))->EndInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->公司信息BindingNavigator))->EndInit();
this->公司信息BindingNavigator->ResumeLayout(false);
this->公司信息BindingNavigator->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->公司信息DataGridView))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: System::Void 公司信息BindingNavigatorSaveItem_Click(System::Object^ sender, System::EventArgs^ e) {
this->Validate();
this->公司信息BindingSource->EndEdit();
this->公司信息TableAdapter->Update(this->MyAssetsDataSet->公司信息);
}
private: System::Void CompanyForm_Load(System::Object^ sender, System::EventArgs^ e) {
// TODO: 这行代码将数据加载到表“MyAssetsDataSet.公司信息”中。您可以根据需要移动或移除它。
this->公司信息TableAdapter->Fill(this->MyAssetsDataSet->公司信息);
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -