📄 otherpaymentform.h
字号:
//文件名:OtherPaymentForm.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>
/// OtherPaymentForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class OtherPaymentForm : public System::Windows::Forms::Form
{
public:
OtherPaymentForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~OtherPaymentForm()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::PrintPreviewDialog^ printPreviewDialog1;
protected:
private: System::Drawing::Printing::PrintDocument^ printDocument1;
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::Label^ 收款人员Label;
private: System::Windows::Forms::TextBox^ 收款人员TextBox;
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::Button^ 保存Button;
private: System::Windows::Forms::Button^ 打印Button;
private: System::Windows::Forms::Button^ 新增Button;
private:
/// <summary>
/// 必需的设计器变量。
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(OtherPaymentForm::typeid));
this->printPreviewDialog1 = (gcnew System::Windows::Forms::PrintPreviewDialog());
this->printDocument1 = (gcnew System::Drawing::Printing::PrintDocument());
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->收款人员Label = (gcnew System::Windows::Forms::Label());
this->收款人员TextBox = (gcnew System::Windows::Forms::TextBox());
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->保存Button = (gcnew System::Windows::Forms::Button());
this->打印Button = (gcnew System::Windows::Forms::Button());
this->新增Button = (gcnew System::Windows::Forms::Button());
this->SuspendLayout();
//
// printPreviewDialog1
//
this->printPreviewDialog1->AutoScrollMargin = System::Drawing::Size(0, 0);
this->printPreviewDialog1->AutoScrollMinSize = System::Drawing::Size(0, 0);
this->printPreviewDialog1->ClientSize = System::Drawing::Size(400, 300);
this->printPreviewDialog1->Enabled = true;
this->printPreviewDialog1->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"printPreviewDialog1.Icon")));
this->printPreviewDialog1->Name = L"printPreviewDialog1";
this->printPreviewDialog1->Visible = false;
//
// printDocument1
//
this->printDocument1->PrintPage += gcnew System::Drawing::Printing::PrintPageEventHandler(this, &OtherPaymentForm::printDocument1_PrintPage);
//
// 补充说明TextBox
//
this->补充说明TextBox->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Left)
| System::Windows::Forms::AnchorStyles::Right));
this->补充说明TextBox->Location = System::Drawing::Point(71, 149);
this->补充说明TextBox->Name = L"补充说明TextBox";
this->补充说明TextBox->Size = System::Drawing::Size(463, 21);
this->补充说明TextBox->TabIndex = 110;
this->补充说明TextBox->Text = L"暂无";
//
// 补充说明Label
//
this->补充说明Label->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Left)
| System::Windows::Forms::AnchorStyles::Right));
this->补充说明Label->AutoSize = true;
this->补充说明Label->Location = System::Drawing::Point(10, 153);
this->补充说明Label->Name = L"补充说明Label";
this->补充说明Label->Size = System::Drawing::Size(65, 12);
this->补充说明Label->TabIndex = 109;
this->补充说明Label->Text = L"补充说明:";
//
// 收款事由TextBox
//
this->收款事由TextBox->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom)
| System::Windows::Forms::AnchorStyles::Left)
| System::Windows::Forms::AnchorStyles::Right));
this->收款事由TextBox->Location = System::Drawing::Point(8, 80);
this->收款事由TextBox->Multiline = true;
this->收款事由TextBox->Name = L"收款事由TextBox";
this->收款事由TextBox->Size = System::Drawing::Size(526, 65);
this->收款事由TextBox->TabIndex = 108;
this->收款事由TextBox->Text = L"交维修费";
//
// 收款事由Label
//
this->收款事由Label->AutoSize = true;
this->收款事由Label->Location = System::Drawing::Point(9, 62);
this->收款事由Label->Name = L"收款事由Label";
this->收款事由Label->Size = System::Drawing::Size(65, 12);
this->收款事由Label->TabIndex = 107;
this->收款事由Label->Text = L"收款事由:";
//
// 收款形式TextBox
//
this->收款形式TextBox->Location = System::Drawing::Point(336, 32);
this->收款形式TextBox->Name = L"收款形式TextBox";
this->收款形式TextBox->Size = System::Drawing::Size(57, 21);
this->收款形式TextBox->TabIndex = 104;
this->收款形式TextBox->Text = L"现金";
//
// 收款形式Label
//
this->收款形式Label->AutoSize = true;
this->收款形式Label->Location = System::Drawing::Point(272, 37);
this->收款形式Label->Name = L"收款形式Label";
this->收款形式Label->Size = System::Drawing::Size(65, 12);
this->收款形式Label->TabIndex = 103;
this->收款形式Label->Text = L"收款形式:";
//
// 收款人员Label
//
this->收款人员Label->AutoSize = true;
this->收款人员Label->Location = System::Drawing::Point(395, 37);
this->收款人员Label->Name = L"收款人员Label";
this->收款人员Label->Size = System::Drawing::Size(65, 12);
this->收款人员Label->TabIndex = 105;
this->收款人员Label->Text = L"收款人员:";
//
// 收款人员TextBox
//
this->收款人员TextBox->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left)
| System::Windows::Forms::AnchorStyles::Right));
this->收款人员TextBox->Location = System::Drawing::Point(460, 32);
this->收款人员TextBox->Name = L"收款人员TextBox";
this->收款人员TextBox->Size = System::Drawing::Size(74, 21);
this->收款人员TextBox->TabIndex = 106;
//
// 收款金额TextBox
//
this->收款金额TextBox->Location = System::Drawing::Point(208, 32);
this->收款金额TextBox->Name = L"收款金额TextBox";
this->收款金额TextBox->Size = System::Drawing::Size(57, 21);
this->收款金额TextBox->TabIndex = 102;
this->收款金额TextBox->Text = L"0";
//
// 收款金额Label
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -