📄 managepaymentform.h
字号:
//文件名:ManagePaymentForm.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>
/// ManagePaymentForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class ManagePaymentForm : public System::Windows::Forms::Form
{
public:
ManagePaymentForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~ManagePaymentForm()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Label^ 补充说明Label;
protected:
private: System::Windows::Forms::TextBox^ 收款事由TextBox;
private: System::Windows::Forms::Label^ 收款事由Label;
private: System::Windows::Forms::TextBox^ 收款人员TextBox;
private: System::Windows::Forms::Label^ 收款人员Label;
private: System::Windows::Forms::TextBox^ 收款形式TextBox;
private: System::Windows::Forms::Label^ 收款形式Label;
private: System::Windows::Forms::TextBox^ 收款金额TextBox;
private: System::Windows::Forms::Label^ 收款金额Label;
private: System::Windows::Forms::TextBox^ 交款人员TextBox;
private: System::Windows::Forms::Label^ 交款人员Label;
private: System::Windows::Forms::TextBox^ 收款日期TextBox;
private: System::Windows::Forms::Label^ 收款日期Label;
private: System::Windows::Forms::TextBox^ 收据编号TextBox;
private: System::Windows::Forms::Label^ 收据编号Label;
private: System::Windows::Forms::PrintPreviewDialog^ printPreviewDialog1;
private: System::Windows::Forms::Label^ 业主姓名Label;
private: System::Windows::Forms::ComboBox^ 楼栋名称ComboBox;
private: System::Windows::Forms::Label^ 楼栋名称Label;
private: System::Windows::Forms::Button^ 保存Button;
private: System::Windows::Forms::Button^ 打印Button;
private: System::Windows::Forms::Button^ 新增Button;
private: System::Windows::Forms::Button^ 移除Button;
private: System::Drawing::Printing::PrintDocument^ printDocument1;
private: System::Windows::Forms::Button^ 添加Button;
private: System::Windows::Forms::DataGridView^ 明细DataGridView;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::DataGridView^ 未交DataGridView;
private: System::Windows::Forms::Button^ 查询Button;
private: System::Windows::Forms::ComboBox^ 业主姓名ComboBox;
private: System::Windows::Forms::TextBox^ 补充说明TextBox;
private: MyCommunity::DBCommunityDataSet^ DBCommunityDataSet;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(ManagePaymentForm::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());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle4 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle5 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
System::Windows::Forms::DataGridViewCellStyle^ dataGridViewCellStyle6 = (gcnew System::Windows::Forms::DataGridViewCellStyle());
this->补充说明Label = (gcnew System::Windows::Forms::Label());
this->收款事由TextBox = (gcnew System::Windows::Forms::TextBox());
this->收款事由Label = (gcnew System::Windows::Forms::Label());
this->收款人员TextBox = (gcnew System::Windows::Forms::TextBox());
this->收款人员Label = (gcnew System::Windows::Forms::Label());
this->收款形式TextBox = (gcnew System::Windows::Forms::TextBox());
this->收款形式Label = (gcnew System::Windows::Forms::Label());
this->收款金额TextBox = (gcnew System::Windows::Forms::TextBox());
this->收款金额Label = (gcnew System::Windows::Forms::Label());
this->交款人员TextBox = (gcnew System::Windows::Forms::TextBox());
this->交款人员Label = (gcnew System::Windows::Forms::Label());
this->收款日期TextBox = (gcnew System::Windows::Forms::TextBox());
this->收款日期Label = (gcnew System::Windows::Forms::Label());
this->收据编号TextBox = (gcnew System::Windows::Forms::TextBox());
this->收据编号Label = (gcnew System::Windows::Forms::Label());
this->printPreviewDialog1 = (gcnew System::Windows::Forms::PrintPreviewDialog());
this->业主姓名Label = (gcnew System::Windows::Forms::Label());
this->楼栋名称ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->楼栋信息BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->DBCommunityDataSet = (gcnew MyCommunity::DBCommunityDataSet());
this->楼栋名称Label = (gcnew System::Windows::Forms::Label());
this->保存Button = (gcnew System::Windows::Forms::Button());
this->打印Button = (gcnew System::Windows::Forms::Button());
this->新增Button = (gcnew System::Windows::Forms::Button());
this->移除Button = (gcnew System::Windows::Forms::Button());
this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
this->添加Button = (gcnew System::Windows::Forms::Button());
this->明细DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->label1 = (gcnew System::Windows::Forms::Label());
this->未交DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->查询Button = (gcnew System::Windows::Forms::Button());
this->业主姓名ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->补充说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->楼栋信息TableAdapter = (gcnew MyCommunity::DBCommunityDataSetTableAdapters::楼栋信息TableAdapter());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->楼栋信息BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->DBCommunityDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->明细DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->未交DataGridView))->BeginInit();
this->SuspendLayout();
//
// 补充说明Label
//
this->补充说明Label->AutoSize = true;
this->补充说明Label->Location = System::Drawing::Point(10, 64);
this->补充说明Label->Name = L"补充说明Label";
this->补充说明Label->Size = System::Drawing::Size(65, 12);
this->补充说明Label->TabIndex = 90;
this->补充说明Label->Text = L"补充说明:";
//
// 收款事由TextBox
//
this->收款事由TextBox->Location = System::Drawing::Point(461, 33);
this->收款事由TextBox->Name = L"收款事由TextBox";
this->收款事由TextBox->Size = System::Drawing::Size(73, 21);
this->收款事由TextBox->TabIndex = 89;
this->收款事由TextBox->Text = L"交物业管理费";
//
// 收款事由Label
//
this->收款事由Label->AutoSize = true;
this->收款事由Label->Location = System::Drawing::Point(394, 39);
this->收款事由Label->Name = L"收款事由Label";
this->收款事由Label->Size = System::Drawing::Size(65, 12);
this->收款事由Label->TabIndex = 88;
this->收款事由Label->Text = L"收款事由:";
//
// 收款人员TextBox
//
this->收款人员TextBox->Location = System::Drawing::Point(333, 33);
this->收款人员TextBox->Name = L"收款人员TextBox";
this->收款人员TextBox->Size = System::Drawing::Size(57, 21);
this->收款人员TextBox->TabIndex = 87;
//
// 收款人员Label
//
this->收款人员Label->AutoSize = true;
this->收款人员Label->Location = System::Drawing::Point(269, 39);
this->收款人员Label->Name = L"收款人员Label";
this->收款人员Label->Size = System::Drawing::Size(65, 12);
this->收款人员Label->TabIndex = 86;
this->收款人员Label->Text = L"收款人员:";
//
// 收款形式TextBox
//
this->收款形式TextBox->Location = System::Drawing::Point(206, 33);
this->收款形式TextBox->Name = L"收款形式TextBox";
this->收款形式TextBox->Size = System::Drawing::Size(57, 21);
this->收款形式TextBox->TabIndex = 85;
this->收款形式TextBox->Text = L"现金";
//
// 收款形式Label
//
this->收款形式Label->AutoSize = true;
this->收款形式Label->Location = System::Drawing::Point(139, 38);
this->收款形式Label->Name = L"收款形式Label";
this->收款形式Label->Size = System::Drawing::Size(65, 12);
this->收款形式Label->TabIndex = 84;
this->收款形式Label->Text = L"收款形式:";
//
// 收款金额TextBox
//
this->收款金额TextBox->Location = System::Drawing::Point(77, 33);
this->收款金额TextBox->Name = L"收款金额TextBox";
this->收款金额TextBox->ReadOnly = true;
this->收款金额TextBox->Size = System::Drawing::Size(57, 21);
this->收款金额TextBox->TabIndex = 83;
//
// 收款金额Label
//
this->收款金额Label->AutoSize = true;
this->收款金额Label->Location = System::Drawing::Point(10, 39);
this->收款金额Label->Name = L"收款金额Label";
this->收款金额Label->Size = System::Drawing::Size(65, 12);
this->收款金额Label->TabIndex = 82;
this->收款金额Label->Text = L"收款金额:";
//
// 交款人员TextBox
//
this->交款人员TextBox->Location = System::Drawing::Point(483, 9);
this->交款人员TextBox->Name = L"交款人员TextBox";
this->交款人员TextBox->Size = System::Drawing::Size(51, 21);
this->交款人员TextBox->TabIndex = 81;
//
// 交款人员Label
//
this->交款人员Label->AutoSize = true;
this->交款人员Label->Location = System::Drawing::Point(417, 13);
this->交款人员Label->Name = L"交款人员Label";
this->交款人员Label->Size = System::Drawing::Size(65, 12);
this->交款人员Label->TabIndex = 80;
this->交款人员Label->Text = L"交款人员:";
//
// 收款日期TextBox
//
this->收款日期TextBox->Location = System::Drawing::Point(345, 9);
this->收款日期TextBox->Name = L"收款日期TextBox";
this->收款日期TextBox->Size = System::Drawing::Size(66, 21);
this->收款日期TextBox->TabIndex = 79;
this->收款日期TextBox->Text = L"2006-6-1";
//
// 收款日期Label
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -