📄 fittingsform.h
字号:
//文件名: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>
/// FittingsForm 摘要
///
/// 警告: 如果更改此类的名称,则需要更改
/// 与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
/// “资源文件名”属性。否则,
/// 设计器将不能与此窗体的关联
/// 本地化资源正确交互。
/// </summary>
public ref class FittingsForm : public System::Windows::Forms::Form
{
public:
FittingsForm(void)
{
InitializeComponent();
//
//TODO: 在此处添加构造函数代码
//
}
protected:
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
~FittingsForm()
{
if (components)
{
delete components;
}
}
private: My::MyAssetsDataSet^ MyAssetsDataSet;
protected:
private: System::Windows::Forms::BindingSource^ 固定资产附属设备BindingSource;
private: My::MyAssetsDataSetTableAdapters::固定资产附属设备TableAdapter^ 固定资产附属设备TableAdapter;
private: System::Windows::Forms::ToolStripButton^ 固定资产附属设备BindingNavigatorSaveItem;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn2;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn1;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator1;
private: System::Windows::Forms::ToolStripTextBox^ bindingNavigatorPositionItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveLastItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveNextItem;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn8;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn7;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn10;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn9;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn4;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn3;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn6;
private: System::Windows::Forms::DataGridViewTextBoxColumn^ dataGridViewTextBoxColumn5;
private: System::Windows::Forms::ToolStripSeparator^ bindingNavigatorSeparator;
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::ToolStripLabel^ bindingNavigatorCountItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorAddNewItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorDeleteItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMovePreviousItem;
private: System::Windows::Forms::ToolStripButton^ bindingNavigatorMoveFirstItem;
private: System::Windows::Forms::DataGridView^ 固定资产附属设备DataGridView;
private: System::Windows::Forms::BindingNavigator^ 固定资产附属设备BindingNavigator;
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::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(FittingsForm::typeid));
this->MyAssetsDataSet = (gcnew My::MyAssetsDataSet());
this->固定资产附属设备BindingSource = (gcnew System::Windows::Forms::BindingSource(this->components));
this->固定资产附属设备TableAdapter = (gcnew My::MyAssetsDataSetTableAdapters::固定资产附属设备TableAdapter());
this->固定资产附属设备BindingNavigatorSaveItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->dataGridViewTextBoxColumn2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->bindingNavigatorPositionItem = (gcnew System::Windows::Forms::ToolStripTextBox());
this->bindingNavigatorMoveLastItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveNextItem = (gcnew System::Windows::Forms::ToolStripButton());
this->dataGridViewTextBoxColumn8 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn7 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn10 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn9 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn6 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->dataGridViewTextBoxColumn5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
this->bindingNavigatorSeparator = (gcnew System::Windows::Forms::ToolStripSeparator());
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->bindingNavigatorCountItem = (gcnew System::Windows::Forms::ToolStripLabel());
this->bindingNavigatorAddNewItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorDeleteItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMovePreviousItem = (gcnew System::Windows::Forms::ToolStripButton());
this->bindingNavigatorMoveFirstItem = (gcnew System::Windows::Forms::ToolStripButton());
this->固定资产附属设备DataGridView = (gcnew System::Windows::Forms::DataGridView());
this->固定资产附属设备BindingNavigator = (gcnew System::Windows::Forms::BindingNavigator(this->components));
自编号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->固定资产附属设备DataGridView))->BeginInit();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->固定资产附属设备BindingNavigator))->BeginInit();
this->固定资产附属设备BindingNavigator->SuspendLayout();
this->SuspendLayout();
//
// 自编号Label
//
自编号Label->AutoSize = true;
自编号Label->Location = System::Drawing::Point(2, 26);
自编号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(2, 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(2, 80);
附属设备名称Label->Name = L"附属设备名称Label";
附属设备名称Label->Size = System::Drawing::Size(83, 12);
附属设备名称Label->TabIndex = 28;
附属设备名称Label->Text = L"附属设备名称:";
//
// 规格型号Label
//
规格型号Label->AutoSize = true;
规格型号Label->Location = System::Drawing::Point(2, 107);
规格型号Label->Name = L"规格型号Label";
规格型号Label->Size = System::Drawing::Size(59, 12);
规格型号Label->TabIndex = 30;
规格型号Label->Text = L"规格型号:";
//
// 生产厂家Label
//
生产厂家Label->AutoSize = true;
生产厂家Label->Location = System::Drawing::Point(2, 134);
生产厂家Label->Name = L"生产厂家Label";
生产厂家Label->Size = System::Drawing::Size(59, 12);
生产厂家Label->TabIndex = 32;
生产厂家Label->Text = L"生产厂家:";
//
// 出厂日期Label
//
出厂日期Label->AutoSize = true;
出厂日期Label->Location = System::Drawing::Point(350, 28);
出厂日期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(350, 54);
单位Label->Name = L"单位Label";
单位Label->Size = System::Drawing::Size(35, 12);
单位Label->TabIndex = 36;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -