📄 fixedassetsform.h
字号:
//文件名:FixedAssetsForm.h
#include"FittingsForm.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>
/// FixedAssetsForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class FixedAssetsForm : public System::Windows::Forms::Form
{
public:
FixedAssetsForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~FixedAssetsForm()
{
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^ dataGridViewTextBoxColumn18;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn19;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn17;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn15;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn16;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn23;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn24;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn22;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn20;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn21;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn13;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn14;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn12;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn11;
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::ComboBox^ 使用部门ComboBox;
private: System::Windows::Forms::ComboBox^ 使用状态ComboBox;
private: System::Windows::Forms::ComboBox^ 增加方式ComboBox;
private: System::Windows::Forms::ComboBox^ 类别ComboBox;
private: System::Windows::Forms::TextBox^ 数量TextBox;
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::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^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::ToolStripTextBox^ bindingNavigatorPositionItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator1;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::ToolStripButton^ 固定资产明细BindingNavigatorSaveItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripLabel^ bindingNavigatorCountItem;
private: System::Windows::Forms::DataGridView^ 固定资产明细DataGridView;
private: System::Windows::Forms::BindingNavigator^ 固定资产明细BindingNavigator;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
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::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::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(FixedAssetsForm::typeid));
this->MyAssetsDataSet = (gcnew My::MyAssetsDataSet());
this->固定资产明细BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->固定资产明细TableAdapter = (gcnew My::MyAssetsDataSetTableAdapters::固定资产明细TableAdapter());
this->dataGridViewTextBoxColumn18 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn19 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn17 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn15 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn16 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn23 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn24 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn22 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn20 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn21 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn13 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn14 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn12 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn11 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
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->使用部门ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->使用状态ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->增加方式ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->类别ComboBox = (gcnew System::Windows::Forms::ComboBox());
this->数量TextBox = (gcnew System::Windows::Forms::TextBox());
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->折旧方法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->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->固定资产明细BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->固定资产明细DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->固定资产明细BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
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());
自编号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());
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -