📄 companyform.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 宾馆酒店管理系统 {
/// <summary>
/// CompanyForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class CompanyForm : public System::Windows::Forms::Form
{
public:
CompanyForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~CompanyForm()
{
if (components)
{
delete components;
}
}
private: My::MyHotelDataSet^ MyHotelDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 酒店信息BindingSource;
private: My::MyHotelDataSetTableAdapters::酒店信息TableAdapter^ 酒店信息TableAdapter;
private: System::Windows::Forms::BindingNavigator^ 酒店信息BindingNavigator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripLabel^ bindingNavigatorCountItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripTextBox^ bindingNavigatorPositionItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator1;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripButton^ 酒店信息BindingNavigatorSaveItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridView^ 酒店信息DataGridView;
private: System::Windows::Forms::TextBox^ 酒店名称TextBox;
private: System::Windows::Forms::TextBox^ 法人代表TextBox;
private: System::Windows::Forms::TextBox^ 酒店地址TextBox;
private: System::Windows::Forms::TextBox^ 服务电话TextBox;
private: System::Windows::Forms::TextBox^ 邮政编码TextBox;
private: System::Windows::Forms::TextBox^ 电子邮件TextBox;
private: System::Windows::Forms::TextBox^ 酒店网站TextBox;
private: System::Windows::Forms::TextBox^ 管理系统背景照片TextBox;
private: System::Windows::Forms::TextBox^ 管理系统显示名称TextBox;
private: System::Windows::Forms::TextBox^ 显示优先级TextBox;
private: System::ComponentModel::IContainer^ components;
private:
/// <summary>
/// 必需的设计器变量。
/// </summary>
#pragma region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(CompanyForm::typeid));
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::Label^ 酒店名称Label;
System::Windows::Forms::Label^ 法人代表Label;
System::Windows::Forms::Label^ 酒店地址Label;
System::Windows::Forms::Label^ 服务电话Label;
System::Windows::Forms::Label^ 邮政编码Label;
System::Windows::Forms::Label^ 电子邮件Label;
System::Windows::Forms::Label^ 酒店网站Label;
System::Windows::Forms::Label^ 管理系统背景照片Label;
System::Windows::Forms::Label^ 管理系统显示名称Label;
System::Windows::Forms::Label^ 显示优先级Label;
this->MyHotelDataSet = (gcnew My::MyHotelDataSet());
this->酒店信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->酒店信息TableAdapter = (gcnew My::MyHotelDataSetTableAdapters::酒店信息TableAdapter());
this->酒店信息BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->酒店信息BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->酒店信息DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->酒店名称TextBox = (gcnew System::Windows::Forms::TextBox());
this->法人代表TextBox = (gcnew System::Windows::Forms::TextBox());
this->酒店地址TextBox = (gcnew System::Windows::Forms::TextBox());
this->服务电话TextBox = (gcnew System::Windows::Forms::TextBox());
this->邮政编码TextBox = (gcnew System::Windows::Forms::TextBox());
this->电子邮件TextBox = (gcnew System::Windows::Forms::TextBox());
this->酒店网站TextBox = (gcnew System::Windows::Forms::TextBox());
this->管理系统背景照片TextBox = (gcnew System::Windows::Forms::TextBox());
this->管理系统显示名称TextBox = (gcnew System::Windows::Forms::TextBox());
this->显示优先级TextBox = (gcnew System::Windows::Forms::TextBox());
酒店名称Label = (gcnew System::Windows::Forms::Label());
法人代表Label = (gcnew System::Windows::Forms::Label());
酒店地址Label = (gcnew System::Windows::Forms::Label());
服务电话Label = (gcnew System::Windows::Forms::Label());
邮政编码Label = (gcnew System::Windows::Forms::Label());
电子邮件Label = (gcnew System::Windows::Forms::Label());
酒店网站Label = (gcnew System::Windows::Forms::Label());
管理系统背景照片Label = (gcnew System::Windows::Forms::Label());
管理系统显示名称Label = (gcnew System::Windows::Forms::Label());
显示优先级Label = (gcnew System::Windows::Forms::Label());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->MyHotelDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->酒店信息BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->酒店信息BindingNavigator))->BeginInit();
this->酒店信息BindingNavigator->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->酒店信息DataGridView))->BeginInit();
this->SuspendLayout();
//
// MyHotelDataSet
//
this->MyHotelDataSet->DataSetName = L"MyHotelDataSet";
this->MyHotelDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
//
// 酒店信息BindingSource
//
this->酒店信息BindingSource->DataMember = L"酒店信息";
this->酒店信息BindingSource->DataSource = this->MyHotelDataSet;
//
// 酒店信息TableAdapter
//
this->酒店信息TableAdapter->ClearBeforeFill = true;
//
// 酒店信息BindingNavigator
//
this->酒店信息BindingNavigator->AddNewItem = this->bindingNavigatorAddNewItem;
this->酒店信息BindingNavigator->BindingSource = this->酒店信息BindingSource;
this->酒店信息BindingNavigator->CountItem = this->bindingNavigatorCountItem;
this->酒店信息BindingNavigator->DeleteItem = this->bindingNavigatorDeleteItem;
this->酒店信息BindingNavigator->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->酒店信息BindingNavigatorSaveItem});
this->酒店信息BindingNavigator->Location = System::Drawing::Point(0, 0);
this->酒店信息BindingNavigator->MoveFirstItem = this->bindingNavigatorMoveFirstItem;
this->酒店信息BindingNavigator->MoveLastItem = this->bindingNavigatorMoveLastItem;
this->酒店信息BindingNavigator->MoveNextItem = this->bindingNavigatorMoveNextItem;
this->酒店信息BindingNavigator->MovePreviousItem = this->bindingNavigatorMovePreviousItem;
this->酒店信息BindingNavigator->Name = L"酒店信息BindingNavigator";
this->酒店信息BindingNavigator->PositionItem = this->bindingNavigatorPositionItem;
this->酒店信息BindingNavigator->Size = System::Drawing::Size(540, 25);
this->酒店信息BindingNavigator->TabIndex = 0;
this->酒店信息BindingNavigator->Text = L"bindingNavigator1";
//
// bindingNavigatorMoveFirstItem
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -