📄 mainform.h
字号:
this->完修固定资产ToolStripSeparator1, this->出借固定资产ToolStripMenuItem1, this->出借固定资产ToolStripSeparator1, this->归还固定资产ToolStripMenuItem1});
this->报表管理RToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"报表管理RToolStripMenuItem.Image")));
this->报表管理RToolStripMenuItem->Name = L"报表管理RToolStripMenuItem";
this->报表管理RToolStripMenuItem->Size = System::Drawing::Size(99, 20);
this->报表管理RToolStripMenuItem->Text = L"报表管理(&R)";
//
// 固定资产卡片ToolStripMenuItem
//
this->固定资产卡片ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"固定资产卡片ToolStripMenuItem.Image")));
this->固定资产卡片ToolStripMenuItem->Name = L"固定资产卡片ToolStripMenuItem";
this->固定资产卡片ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->固定资产卡片ToolStripMenuItem->Text = L"固定资产卡片(&C)";
this->固定资产卡片ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::固定资产卡片ToolStripMenuItem_Click);
//
// 固定资产卡片ToolStripSeparator
//
this->固定资产卡片ToolStripSeparator->Name = L"固定资产卡片ToolStripSeparator";
this->固定资产卡片ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 固定资产折旧ToolStripMenuItem
//
this->固定资产折旧ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"固定资产折旧ToolStripMenuItem.Image")));
this->固定资产折旧ToolStripMenuItem->Name = L"固定资产折旧ToolStripMenuItem";
this->固定资产折旧ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->固定资产折旧ToolStripMenuItem->Text = L"固定资产折旧(&D)";
this->固定资产折旧ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::固MyAssets旧ToolStripMenuItem_Click);
//
// 固定资产折旧ToolStripSeparator
//
this->固定资产折旧ToolStripSeparator->Name = L"固定资产折旧ToolStripSeparator";
this->固定资产折旧ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 部门固定资产ToolStripMenuItem
//
this->部门固定资产ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"部门固定资产ToolStripMenuItem.Image")));
this->部门固定资产ToolStripMenuItem->Name = L"部门固定资产ToolStripMenuItem";
this->部门固定资产ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->部门固定资产ToolStripMenuItem->Text = L"部门固定资产(&O)";
this->部门固定资产ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::部门固定资产ToolStripMenuItem_Click);
//
// 部门固定资产ToolStripSeparator
//
this->部门固定资产ToolStripSeparator->Name = L"部门固定资产ToolStripSeparator";
this->部门固定资产ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 分类固定资产ToolStripMenuItem
//
this->分类固定资产ToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"分类固定资产ToolStripMenuItem.Image")));
this->分类固定资产ToolStripMenuItem->Name = L"分类固定资产ToolStripMenuItem";
this->分类固定资产ToolStripMenuItem->Size = System::Drawing::Size(160, 22);
this->分类固定资产ToolStripMenuItem->Text = L"分类固定资产(&T)";
this->分类固定资产ToolStripMenuItem->Click += gcnew System::EventHandler(this, &MainForm::分类固定资产ToolStripMenuItem_Click);
//
// 分类固定资产ToolStripSeparator
//
this->分类固定资产ToolStripSeparator->Name = L"分类固定资产ToolStripSeparator";
this->分类固定资产ToolStripSeparator->Size = System::Drawing::Size(157, 6);
//
// 减少固定资产ToolStripMenuItem1
//
this->减少固定资产ToolStripMenuItem1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"减少固定资产ToolStripMenuItem1.Image")));
this->减少固定资产ToolStripMenuItem1->Name = L"减少固定资产ToolStripMenuItem1";
this->减少固定资产ToolStripMenuItem1->Size = System::Drawing::Size(160, 22);
this->减少固定资产ToolStripMenuItem1->Text = L"减少固定资产(&E)";
this->减少固定资产ToolStripMenuItem1->Click += gcnew System::EventHandler(this, &MainForm::减少固定资产ToolStripMenuItem1_Click);
//
// 减少固定资产ToolStripSeparator1
//
this->减少固定资产ToolStripSeparator1->Name = L"减少固定资产ToolStripSeparator1";
this->减少固定资产ToolStripSeparator1->Size = System::Drawing::Size(157, 6);
//
// 送修固定资产ToolStripMenuItem1
//
this->送修固定资产ToolStripMenuItem1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"送修固定资产ToolStripMenuItem1.Image")));
this->送修固定资产ToolStripMenuItem1->Name = L"送修固定资产ToolStripMenuItem1";
this->送修固定资产ToolStripMenuItem1->Size = System::Drawing::Size(160, 22);
this->送修固定资产ToolStripMenuItem1->Text = L"送修固定资产(&S)";
this->送修固定资产ToolStripMenuItem1->Click += gcnew System::EventHandler(this, &MainForm::送修固定资产ToolStripMenuItem1_Click);
//
// 送修固定资产ToolStripSeparator1
//
this->送修固定资产ToolStripSeparator1->Name = L"送修固定资产ToolStripSeparator1";
this->送修固定资产ToolStripSeparator1->Size = System::Drawing::Size(157, 6);
//
// 完修固定资产ToolStripMenuItem1
//
this->完修固定资产ToolStripMenuItem1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"完修固定资产ToolStripMenuItem1.Image")));
this->完修固定资产ToolStripMenuItem1->Name = L"完修固定资产ToolStripMenuItem1";
this->完修固定资产ToolStripMenuItem1->Size = System::Drawing::Size(160, 22);
this->完修固定资产ToolStripMenuItem1->Text = L"完修固定资产(&R)";
this->完修固定资产ToolStripMenuItem1->Click += gcnew System::EventHandler(this, &MainForm::完修固定资产ToolStripMenuItem1_Click);
//
// 完修固定资产ToolStripSeparator1
//
this->完修固定资产ToolStripSeparator1->Name = L"完修固定资产ToolStripSeparator1";
this->完修固定资产ToolStripSeparator1->Size = System::Drawing::Size(157, 6);
//
// MainForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->ClientSize = System::Drawing::Size(542, 416);
this->Controls->Add(this->toolStrip1);
this->Controls->Add(this->menuStrip1);
this->Name = L"MainForm";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"固定资产管理系统";
this->Load += gcnew System::EventHandler(this, &MainForm::MainForm_Load);
this->toolStrip1->ResumeLayout(false);
this->toolStrip1->PerformLayout();
this->menuStrip1->ResumeLayout(false);
this->menuStrip1->PerformLayout();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: String^ MyBgPhoto ;
private: String^ MyAddress ;
private: String^ MyTel ;
private: String^ MyCode;
private: String^ MyWeb ;
private: String^ MySlogan;
private: String^ MyBgPhotoShow;
private: String^ MyOperator;
private: String^ MyCompany;
private: static String^ MyAssetsConnectionString= L"Data Source=.;Initial Catalog=MyAssets;Integrated Security=True;Pooling=False";
private: System::Void 增MyAssets产ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
FixedAssetsForm^ MyDlg = gcnew FixedAssetsForm();
MyDlg->ShowDialog();
}
private: System::Void 减少固定资产ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
SubtractForm^ MyDlg = gcnew SubtractForm();
MyDlg->ShowDialog();
}
private: System::Void 借出固定资产ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
LeaseForm^ MyDlg = gcnew LeaseForm();
MyDlg->ShowDialog();
}
private: System::Void 归还固定资产ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
ReturnForm^ MyDlg = gcnew ReturnForm();
MyDlg->ShowDialog();
}
private: System::Void 送修固定资产ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
RepairForm^ MyDlg = gcnew RepairForm();
MyDlg->ShowDialog();
}
private: System::Void 完修固定资产ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
RepairedForm^ MyDlg = gcnew RepairedForm();
MyDlg->ShowDialog();
}
private: System::Void 计算月度折旧ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
ComputeForm^ MyDlg = gcnew ComputeForm();
MyDlg->ShowDialog();
}
private: System::Void 统计月度折旧ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
QueryDepreciationForm^ MyDlg = gcnew QueryDepreciationForm();
MyDlg->MyCompany=this->MyCompany;
MyDlg->ShowDialog();
}
private: System::Void 汇总月度折旧ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
SumDepreciationForm^ MyDlg = gcnew SumDepreciationForm();
MyDlg->MyCompany = this->MyCompany;
MyDlg->ShowDialog();
}
private: System::Void 固定资产卡片ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
PrintCardForm^ MyDlg = gcnew PrintCardForm();
MyDlg->MyCompany = this->MyCompany;
MyDlg->ShowDialog();
}
private: System::Void 固MyAssets旧ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
PrintDepreciationForm^ MyDlg = gcnew PrintDepreciationForm();
MyDlg->MyCompany = this->MyCompany;
MyDlg->ShowDialog();
}
private: System::Void 部门固定资产ToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -