📄 subtractform.h
字号:
//文件名:SubtractForm.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>
/// SubtractForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class SubtractForm : public System::Windows::Forms::Form
{
public:
SubtractForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~SubtractForm()
{
if (components)
{
delete components;
}
}
private: My::MyAssetsDataSet^ MyAssetsDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 减少固定资产BindingSource;
private: My::MyAssetsDataSetTableAdapters::减少固定资产TableAdapter^ 减少固定资产TableAdapter;
private: System::Windows::Forms::BindingSource^ 可用固定资产视图BindingSource;
private: My::MyAssetsDataSetTableAdapters::可用固定资产视图TableAdapter^ 可用固定资产视图TableAdapter;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn15;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn16;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn13;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn14;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn19;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn20;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn17;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn18;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn12;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn31;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn32;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn29;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn30;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn35;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn36;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn33;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn34;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn23;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn24;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn21;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn22;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn27;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn28;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn25;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn26;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
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::ComboBox^ 减少方式ComboBox;
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::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator1;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripTextBox^ bindingNavigatorPositionItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripButton^ 减少固定资产BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripLabel^ bindingNavigatorCountItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::DataGridView^ 减少固定资产DataGridView;
private: System::Windows::Forms::BindingNavigator^ 减少固定资产BindingNavigator;
private: System::Windows::Forms::ToolStripLabel^ 名称ToolStripLabel;
private: System::Windows::Forms::ToolStripTextBox^ 名称ToolStripTextBox;
private: System::Windows::Forms::ToolStripButton^ 查询ToolStripButton;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::DataGridView^ 可用固定资产视图DataGridView;
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::Windows::Forms::Label^ 说明Label;
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(SubtractForm::typeid));
this->MyAssetsDataSet = (gcnew My::MyAssetsDataSet());
this->减少固定资产BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->减少固定资产TableAdapter = (gcnew My::MyAssetsDataSetTableAdapters::减少固定资产TableAdapter());
this->可用固定资产视图BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->可用固定资产视图TableAdapter = (gcnew My::MyAssetsDataSetTableAdapters::可用固定资产视图TableAdapter());
this->dataGridViewTextBoxColumn15 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn16 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn19 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn20 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn17 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn18 = (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->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn31 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn32 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn29 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn30 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn35 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn36 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn33 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn34 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn24 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn21 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn27 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn28 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn25 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn26 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (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->减少日期DateTimePicker = (gcnew System::Windows::Forms::DateTimePicker());
this->减少方式ComboBox = (gcnew System::Windows::Forms::ComboBox());
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->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->减少固定资产BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->减少固定资产DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->减少固定资产BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
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->可用固定资产视图DataGridView = (gcnew System::Windows::Forms::DataGridView());
自编号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());
说明Label = (gcnew System::Windows::Forms::Label());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->MyAssetsDataSet))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->减少固定资产BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->可用固定资产视图BindingSource))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->减少固定资产DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->减少固定资产BindingNavigator))->BeginInit();
this->减少固定资产BindingNavigator->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->可用固定资产视图DataGridView))->BeginInit();
this->SuspendLayout();
//
// 自编号Label
//
自编号Label->AutoSize = true;
自编号Label->Location = System::Drawing::Point(3, 146);
自编号Label->Name = L"自编号Label";
自编号Label->Size = System::Drawing::Size(47, 12);
自编号Label->TabIndex = 30;
自编号Label->Text = L"自编号:";
//
// 资产编号Label
//
资产编号Label->AutoSize = true;
资产编号Label->Location = System::Drawing::Point(3, 173);
资产编号Label->Name = L"资产编号Label";
资产编号Label->Size = System::Drawing::Size(59, 12);
资产编号Label->TabIndex = 32;
资产编号Label->Text = L"资产编号:";
//
// 名称Label
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -