📄 gasregisterform.h
字号:
//文件名:GasRegisterForm.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;
using namespace System::Data::SqlClient;
namespace MyCommunity {
/// <summary>
/// GasRegisterForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class GasRegisterForm : public System::Windows::Forms::Form
{
public:
GasRegisterForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~GasRegisterForm()
{
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::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^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridView^ 水电气费DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn12;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn13;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn14;
private: System::Windows::Forms::ToolStripLabel^ 楼栋名称ToolStripLabel;
private: System::Windows::Forms::ToolStripComboBox^ 楼栋名称ToolStripComboBox;
private: System::Windows::Forms::ToolStripLabel^ 计费年份ToolStripLabel;
private: System::Windows::Forms::ToolStripComboBox^ 计费年份ToolStripComboBox;
private: System::Windows::Forms::ToolStripLabel^ 计费月份ToolStripLabel;
private: System::Windows::Forms::ToolStripComboBox^ 计费月份ToolStripComboBox;
private: System::Windows::Forms::ToolStripLabel^ 费用类型ToolStripLabel;
private: System::Windows::Forms::ToolStripComboBox^ 费用类型ToolStripComboBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator1;
private: System::Windows::Forms::ToolStripButton^ 新增ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 登记ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn15;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn16;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn17;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn18;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn19;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn20;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn21;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn22;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn23;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn24;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn25;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn26;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn27;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn28;
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(GasRegisterForm::typeid));
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->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->楼栋名称ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->楼栋名称ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->计费年份ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->计费年份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->计费月份ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->计费月份ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->费用类型ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->费用类型ToolStripComboBox = (gcnew System::Windows::Forms::ToolStripComboBox());
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->toolStripSeparator1 = (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->查询ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->新增ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->水电气费BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->登记ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->水电气费DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn15 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn16 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn17 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn18 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn19 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn20 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn21 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn24 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn25 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn26 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn27 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn28 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
(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();
//
// DBCommunityDataSet
//
this->DBCommunityDataSet->DataSetName = L"DBCommunityDataSet";
this->DBCommunityDataSet->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
//
// 水电气费BindingSource
//
this->水电气费BindingSource->DataMember = L"水电气费";
this->水电气费BindingSource->DataSource = this->DBCommunityDataSet;
//
// 水电气费TableAdapter
//
this->水电气费TableAdapter->ClearBeforeFill = true;
//
// 水电气费BindingNavigator
//
this->水电气费BindingNavigator->AddNewItem = nullptr;
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^ >(23) {this->bindingNavigatorSeparator2,
this->楼栋名称ToolStripLabel, this->楼栋名称ToolStripComboBox, this->计费年份ToolStripLabel, this->计费年份ToolStripComboBox, this->计费月份ToolStripLabel,
this->计费月份ToolStripComboBox, this->费用类型ToolStripLabel, this->费用类型ToolStripComboBox, this->bindingNavigatorMoveFirstItem, this->bindingNavigatorMovePreviousItem,
this->toolStripSeparator1, this->bindingNavigatorPositionItem, this->bindingNavigatorCountItem, this->bindingNavigatorSeparator1,
this->bindingNavigatorMoveNextItem, this->bindingNavigatorMoveLastItem, this->查询ToolStripButton, this->新增ToolStripButton, this->bindingNavigatorDeleteItem,
this->水电气费BindingNavigatorSaveItem, this->登记ToolStripButton, this->bindingNavigatorSeparator});
this->水电气费BindingNavigator->LayoutStyle = System::Windows::Forms::ToolStripLayoutStyle::Flow;
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(551, 46);
this->水电气费BindingNavigator->TabIndex = 0;
this->水电气费BindingNavigator->Text = L"bindingNavigator1";
//
// bindingNavigatorCountItem
//
this->bindingNavigatorCountItem->Name = L"bindingNavigatorCountItem";
this->bindingNavigatorCountItem->Size = System::Drawing::Size(30, 13);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -