📄 communityform.h
字号:
//文件名:CommunityForm.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 MyCommunity {
/// <summary>
/// CommunityForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class CommunityForm : public System::Windows::Forms::Form
{
public:
CommunityForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~CommunityForm()
{
if (components)
{
delete components;
}
}
private: MyCommunity::DBCommunityDataSet^ DBCommunityDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 小区信息BindingSource;
private: MyCommunity::DBCommunityDataSetTableAdapters::小区信息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^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::Button^ 浏览图标Button;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::Button^ 浏览图像Button;
private: System::Windows::Forms::TextBox^ 小区网站TextBox;
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::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;
System::Windows::Forms::Label^ 优先级Label;
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(CommunityForm::typeid));
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle1 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle2 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle3 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
this->DBCommunityDataSet = (gcnew MyCommunity::DBCommunityDataSet());
this->小区信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->小区信息TableAdapter = (gcnew MyCommunity::DBCommunityDataSetTableAdapters::小区信息TableAdapter());
this->小区信息BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
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->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->小区信息BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->浏览图标Button = (gcnew System::Windows::Forms::Button());
this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->浏览图像Button = (gcnew System::Windows::Forms::Button());
this->小区网站TextBox = (gcnew System::Windows::Forms::TextBox());
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());
优先级Label = (gcnew System::Windows::Forms::Label());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->DBCommunityDataSet))->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();
//
// 小区网站Label
//
小区网站Label->AutoSize = true;
小区网站Label->Location = System::Drawing::Point(9, 114);
小区网站Label->Name = L"小区网站Label";
小区网站Label->Size = System::Drawing::Size(59, 12);
小区网站Label->TabIndex = 49;
小区网站Label->Text = L"小区网站:";
//
// 小区名称Label
//
小区名称Label->AutoSize = true;
小区名称Label->Location = System::Drawing::Point(9, 33);
小区名称Label->Name = L"小区名称Label";
小区名称Label->Size = System::Drawing::Size(59, 12);
小区名称Label->TabIndex = 28;
小区名称Label->Text = L"小区名称:";
//
// 总负责人Label
//
总负责人Label->AutoSize = true;
总负责人Label->Location = System::Drawing::Point(232, 33);
总负责人Label->Name = L"总负责人Label";
总负责人Label->Size = System::Drawing::Size(59, 12);
总负责人Label->TabIndex = 30;
总负责人Label->Text = L"总负责人:";
//
// 小区地址Label
//
小区地址Label->AutoSize = true;
小区地址Label->Location = System::Drawing::Point(9, 60);
小区地址Label->Name = L"小区地址Label";
小区地址Label->Size = System::Drawing::Size(59, 12);
小区地址Label->TabIndex = 32;
小区地址Label->Text = L"小区地址:";
//
// 邮政编码Label
//
邮政编码Label->AutoSize = true;
邮政编码Label->Location = System::Drawing::Point(369, 60);
邮政编码Label->Name = L"邮政编码Label";
邮政编码Label->Size = System::Drawing::Size(59, 12);
邮政编码Label->TabIndex = 34;
邮政编码Label->Text = L"邮政编码:";
//
// 服务电话Label
//
服务电话Label->AutoSize = true;
服务电话Label->Location = System::Drawing::Point(369, 33);
服务电话Label->Name = L"服务电话Label";
服务电话Label->Size = System::Drawing::Size(59, 12);
服务电话Label->TabIndex = 36;
服务电话Label->Text = L"服务电话:";
//
// 电子信箱Label
//
电子信箱Label->AutoSize = true;
电子信箱Label->Location = System::Drawing::Point(9, 87);
电子信箱Label->Name = L"电子信箱Label";
电子信箱Label->Size = System::Drawing::Size(59, 12);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -