📄 stationform.h
字号:
//文件名:StationForm.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 Microsoft::Office::Interop::Excel;
using namespace System::Reflection;
namespace MyCommunity {
/// <summary>
/// StationForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class StationForm : public System::Windows::Forms::Form
{
public:
StationForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~StationForm()
{
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::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
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::ToolStripLabel^ 车位编号ToolStripLabel;
private: System::Windows::Forms::ToolStripTextBox^ 车位编号ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ 打印ToolStripButton;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 自动编号DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridView^ 车位使用DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 车位编号DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 车位面积DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 楼栋名称DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 业主编号DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 业主姓名DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 启用日期DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 停用日期DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 费用金额DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 管理人员DataGridViewTextBoxColumn;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ 补充说明DataGridViewTextBoxColumn;
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::ComboBox^ 楼栋名称ComboBox;
private: System::Windows::Forms::TextBox^ 业主编号TextBox;
private: System::Windows::Forms::ComboBox^ 业主姓名ComboBox;
private: System::Windows::Forms::DateTimePicker^ 启用日期DateTimePicker;
private: System::Windows::Forms::DateTimePicker^ 停用日期DateTimePicker;
private: System::Windows::Forms::BindingSource^ 楼栋信息BindingSource;
private: MyCommunity::DBCommunityDataSetTableAdapters::楼栋信息TableAdapter^ 楼栋信息TableAdapter;
private: System::Windows::Forms::BindingSource^ 业主信息BindingSource;
private: MyCommunity::DBCommunityDataSetTableAdapters::业主信息TableAdapter^ 业主信息TableAdapter;
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(StationForm::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->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->车位编号ToolStripLabel = (gcnew System::Windows::Forms::ToolStripLabel());
this->车位编号ToolStripTextBox = (gcnew System::Windows::Forms::ToolStripTextBox());
this->查询ToolStripButton = (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->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->打印ToolStripButton = (gcnew System::Windows::Forms::ToolStripButton());
this->自动编号DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->车位使用DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->车位编号DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->车位面积DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->楼栋名称DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->业主编号DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->业主姓名DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->启用日期DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->停用日期DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->费用金额DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->管理人员DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->补充说明DataGridViewTextBoxColumn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
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->楼栋名称ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->楼栋信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->业主编号TextBox = (gcnew System::Windows::Forms::TextBox());
this->业主姓名ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->业主信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->启用日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->停用日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->楼栋信息TableAdapter = (gcnew MyCommunity::DBCommunityDataSetTableAdapters::楼栋信息TableAdapter());
this->业主信息TableAdapter = (gcnew MyCommunity::DBCommunityDataSetTableAdapters::业主信息TableAdapter());
自动编号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();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->楼栋信息BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->业主信息BindingSource))->BeginInit();
this->SuspendLayout();
//
// 自动编号Label
//
自动编号Label->AutoSize = true;
自动编号Label->Location = System::Drawing::Point(4, 30);
自动编号Label->Name = L"自动编号Label";
自动编号Label->Size = System::Drawing::Size(59, 12);
自动编号Label->TabIndex = 35;
自动编号Label->Text = L"自动编号:";
//
// 车位编号Label
//
车位编号Label->AutoSize = true;
车位编号Label->Location = System::Drawing::Point(108, 30);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -