📄 returnform.h
字号:
//文件名:ReturnForm.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 固定资产管理系统 {
/// <summary>
/// ReturnForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class ReturnForm : public System::Windows::Forms::Form
{
public:
ReturnForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~ReturnForm()
{
if (components)
{
delete components;
}
}
private: My::MyAssetsDataSet^ MyAssetsDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 租借固定资产BindingSource;
private: My::MyAssetsDataSetTableAdapters::租借固定资产TableAdapter^ 租借固定资产TableAdapter;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::TextBox^ 自编号TextBox;
private: System::Windows::Forms::Button^ 保存Button;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::GroupBox^ groupBox2;
private: System::Windows::Forms::Button^ 新增Button;
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::DateTimePicker^ 租借日期DateTimePicker;
private: System::Windows::Forms::DateTimePicker^ 拟还日期DateTimePicker;
private: System::Windows::Forms::TextBox^ 预期收益TextBox;
private: System::Windows::Forms::TextBox^ 经办人TextBox;
private: System::Windows::Forms::TextBox^ 说明TextBox;
private: System::Windows::Forms::GroupBox^ groupBox1;
private: System::Windows::Forms::DataGridView^ 租借固定资产DataGridView;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
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(ReturnForm::typeid));
this->MyAssetsDataSet = (gcnew My::MyAssetsDataSet());
this->租借固定资产BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->租借固定资产TableAdapter = (gcnew My::MyAssetsDataSetTableAdapters::租借固定资产TableAdapter());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->自编号TextBox = (gcnew System::Windows::Forms::TextBox());
this->保存Button = (gcnew System::Windows::Forms::Button());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
this->新增Button = (gcnew System::Windows::Forms::Button());
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->租借日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->拟还日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->预期收益TextBox = (gcnew System::Windows::Forms::TextBox());
this->经办人TextBox = (gcnew System::Windows::Forms::TextBox());
this->说明TextBox = (gcnew System::Windows::Forms::TextBox());
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
this->租借固定资产DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
自编号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->MyAssetsDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->租借固定资产BindingSource))->BeginInit();
this->groupBox2->SuspendLayout();
this->groupBox1->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->租借固定资产DataGridView))->BeginInit();
this->SuspendLayout();
//
// 自编号Label
//
自编号Label->AutoSize = true;
自编号Label->Location = System::Drawing::Point(10, 22);
自编号Label->Name = L"自编号Label";
自编号Label->Size = System::Drawing::Size(47, 12);
自编号Label->TabIndex = 24;
自编号Label->Text = L"自编号:";
//
// 资产编号Label
//
资产编号Label->AutoSize = true;
资产编号Label->Location = System::Drawing::Point(10, 53);
资产编号Label->Name = L"资产编号Label";
资产编号Label->Size = System::Drawing::Size(59, 12);
资产编号Label->TabIndex = 26;
资产编号Label->Text = L"资产编号:";
//
// 名称Label
//
名称Label->AutoSize = true;
名称Label->Location = System::Drawing::Point(10, 84);
名称Label->Name = L"名称Label";
名称Label->Size = System::Drawing::Size(35, 12);
名称Label->TabIndex = 28;
名称Label->Text = L"名称:";
//
// 数量Label
//
数量Label->AutoSize = true;
数量Label->Location = System::Drawing::Point(10, 115);
数量Label->Name = L"数量Label";
数量Label->Size = System::Drawing::Size(35, 12);
数量Label->TabIndex = 30;
数量Label->Text = L"数量:";
//
// 单位Label
//
单位Label->AutoSize = true;
单位Label->Location = System::Drawing::Point(10, 146);
单位Label->Name = L"单位Label";
单位Label->Size = System::Drawing::Size(35, 12);
单位Label->TabIndex = 32;
单位Label->Text = L"单位:";
//
// 租借公司Label
//
租借公司Label->AutoSize = true;
租借公司Label->Location = System::Drawing::Point(10, 177);
租借公司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(10, 208);
租借日期Label->Name = L"租借日期Label";
租借日期Label->Size = System::Drawing::Size(59, 12);
租借日期Label->TabIndex = 36;
租借日期Label->Text = L"租借日期:";
//
// 归还日期Label
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -