⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.h

📁 MFC程序开发参考大全 【明日科技】宋坤 刘锐宁 李伟明 【丛 书 名】 软件工程师典藏 【出 版 社】 人民邮电出版社 本书详细介绍了MFC框架中所有常用类及控件的应用
💻 H
📖 第 1 页 / 共 2 页
字号:
#pragma once
#include "UserInfoManage.h"
#include "CLogin.h"
#include "CBookInfoManage.h"
#include "CInStore.h"
#include "COutStore.h"
#include "CInStoreQuery.h"
#include "COutStoreQuery.h"

namespace BOOKMANAGE {
	

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Form1 摘要
	///
	/// 警告: 如果更改此类的名称,则需要更改
	///          与此类所依赖的所有 .resx 文件关联的托管资源编译器工具的
	///          “资源文件名”属性。否则,
	///          设计器将不能与此窗体的关联
	///          本地化资源正确交互。
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			//
			//TODO: 在此处添加构造函数代码
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::MenuStrip^  Menu;
	protected: 

	private: System::Windows::Forms::ToolStripMenuItem^  系统管理ToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  MenuLogin;
	private: System::Windows::Forms::ToolStripMenuItem^  MenuExit;


	private: System::Windows::Forms::ToolStripMenuItem^  基础信息管理ToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  MenuOperator;
	private: System::Windows::Forms::ToolStripMenuItem^  MenuBookManage;


	private: System::Windows::Forms::ToolStripMenuItem^  入库管理ToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  MenuInStore;
	private: System::Windows::Forms::ToolStripMenuItem^  MenuOutput;


	private: System::Windows::Forms::ToolStripMenuItem^  查询管理ToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  MenuInQuery;
	private: System::Windows::Forms::ToolStripMenuItem^  MenuOutQuery;


	private: System::Windows::Forms::ImageList^  ImageList;
	private: System::Windows::Forms::ToolStrip^  ToolBar;
	private: System::Windows::Forms::ToolStripButton^  toolStripButton3;
	private: System::Windows::Forms::ToolStripButton^  toolStripButton1;
	private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator1;
	private: System::Windows::Forms::ToolStripButton^  toolStripButton4;
	private: System::Windows::Forms::ToolStripButton^  toolStripButton2;
	private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator2;
	private: System::Windows::Forms::ToolStripButton^  toolStripButton5;


	private: System::Windows::Forms::StatusStrip^  StatusBar;
	private: System::Windows::Forms::ToolStripStatusLabel^  toolStripStatusLabel1;
	private: System::Windows::Forms::ToolStripStatusLabel^  HintLabel;
	private: System::Windows::Forms::ToolStripStatusLabel^  toolStripStatusLabel2;
	private: System::Windows::Forms::ToolStripStatusLabel^  DateLabel;


	private: System::Windows::Forms::ToolStripStatusLabel^  toolStripStatusLabel3;
	private: System::Windows::Forms::ToolStripStatusLabel^  OperatorLabel;
	private: System::Windows::Forms::ToolStripButton^  ButtonInStore;




	private: System::Windows::Forms::ToolStripStatusLabel^  toolStripStatusLabel4;

	private: System::Windows::Forms::Timer^  Timer;
	private: System::Windows::Forms::ToolStripStatusLabel^  TimeLabel;



	private: System::ComponentModel::IContainer^  components;
	protected: 

	private:
		/// <summary>
		/// 必需的设计器变量。
		/// </summary>


#pragma region Windows Form Designer generated code
		/// <summary>
		/// 设计器支持所需的方法 - 不要
		/// 使用代码编辑器修改此方法的内容。
		/// </summary>
		void InitializeComponent(void)
		{
			this->components = (gcnew System::ComponentModel::Container());
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid));
			this->Menu = (gcnew System::Windows::Forms::MenuStrip());
			this->系统管理ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->MenuLogin = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->MenuExit = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->基础信息管理ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->MenuOperator = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->MenuBookManage = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->入库管理ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->MenuInStore = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->MenuOutput = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->查询管理ToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->MenuInQuery = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->MenuOutQuery = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->ImageList = (gcnew System::Windows::Forms::ImageList(this->components));
			this->ToolBar = (gcnew System::Windows::Forms::ToolStrip());
			this->toolStripButton3 = (gcnew System::Windows::Forms::ToolStripButton());
			this->toolStripButton1 = (gcnew System::Windows::Forms::ToolStripButton());
			this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->toolStripButton4 = (gcnew System::Windows::Forms::ToolStripButton());
			this->toolStripButton2 = (gcnew System::Windows::Forms::ToolStripButton());
			this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
			this->ButtonInStore = (gcnew System::Windows::Forms::ToolStripButton());
			this->toolStripButton5 = (gcnew System::Windows::Forms::ToolStripButton());
			this->StatusBar = (gcnew System::Windows::Forms::StatusStrip());
			this->toolStripStatusLabel1 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->HintLabel = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->toolStripStatusLabel3 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->OperatorLabel = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->toolStripStatusLabel2 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->DateLabel = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->toolStripStatusLabel4 = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->TimeLabel = (gcnew System::Windows::Forms::ToolStripStatusLabel());
			this->Timer = (gcnew System::Windows::Forms::Timer(this->components));
			this->Menu->SuspendLayout();
			this->ToolBar->SuspendLayout();
			this->StatusBar->SuspendLayout();
			this->SuspendLayout();
			// 
			// Menu
			// 
			this->Menu->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(4) {this->系统管理ToolStripMenuItem, 
				this->基础信息管理ToolStripMenuItem, this->入库管理ToolStripMenuItem, this->查询管理ToolStripMenuItem});
			this->Menu->Location = System::Drawing::Point(0, 0);
			this->Menu->Name = L"Menu";
			this->Menu->Size = System::Drawing::Size(905, 24);
			this->Menu->TabIndex = 0;
			this->Menu->Text = L"menuStrip1";
			// 
			// 系统管理ToolStripMenuItem
			// 
			this->系统管理ToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->MenuLogin, 
				this->MenuExit});
			this->系统管理ToolStripMenuItem->Name = L"系统管理ToolStripMenuItem";
			this->系统管理ToolStripMenuItem->Size = System::Drawing::Size(65, 20);
			this->系统管理ToolStripMenuItem->Text = L"系统管理";
			this->系统管理ToolStripMenuItem->MouseHover += gcnew System::EventHandler(this, &Form1::ToolStripMenuItem_MouseHover);
			this->系统管理ToolStripMenuItem->MouseLeave += gcnew System::EventHandler(this, &Form1::ToolStripMenuItem_MouseLeave);
			// 
			// MenuLogin
			// 
			this->MenuLogin->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"MenuLogin.Image")));
			this->MenuLogin->Name = L"MenuLogin";
			this->MenuLogin->Size = System::Drawing::Size(152, 22);
			this->MenuLogin->Text = L"系统登录";
			this->MenuLogin->Click += gcnew System::EventHandler(this, &Form1::MenuLogin_Click);
			// 
			// MenuExit
			// 
			this->MenuExit->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"MenuExit.Image")));
			this->MenuExit->Name = L"MenuExit";
			this->MenuExit->Size = System::Drawing::Size(152, 22);
			this->MenuExit->Text = L"系统退出";
			this->MenuExit->Click += gcnew System::EventHandler(this, &Form1::MenuExit_Click);
			// 
			// 基础信息管理ToolStripMenuItem
			// 
			this->基础信息管理ToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->MenuOperator, 
				this->MenuBookManage});
			this->基础信息管理ToolStripMenuItem->Name = L"基础信息管理ToolStripMenuItem";
			this->基础信息管理ToolStripMenuItem->Size = System::Drawing::Size(89, 20);
			this->基础信息管理ToolStripMenuItem->Text = L"基础信息管理";
			// 
			// MenuOperator
			// 
			this->MenuOperator->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"MenuOperator.Image")));
			this->MenuOperator->Name = L"MenuOperator";
			this->MenuOperator->Size = System::Drawing::Size(154, 22);
			this->MenuOperator->Text = L"操作员信息管理";
			this->MenuOperator->Click += gcnew System::EventHandler(this, &Form1::MenuOperator_Click);
			// 
			// MenuBookManage
			// 
			this->MenuBookManage->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"MenuBookManage.Image")));
			this->MenuBookManage->Name = L"MenuBookManage";
			this->MenuBookManage->Size = System::Drawing::Size(154, 22);
			this->MenuBookManage->Text = L"图书信息管理";
			this->MenuBookManage->Click += gcnew System::EventHandler(this, &Form1::MenuBookManage_Click);
			// 
			// 入库管理ToolStripMenuItem
			// 
			this->入库管理ToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->MenuInStore, 
				this->MenuOutput});
			this->入库管理ToolStripMenuItem->Name = L"入库管理ToolStripMenuItem";
			this->入库管理ToolStripMenuItem->Size = System::Drawing::Size(65, 20);
			this->入库管理ToolStripMenuItem->Text = L"库存管理";
			// 
			// MenuInStore
			// 
			this->MenuInStore->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"MenuInStore.Image")));
			this->MenuInStore->Name = L"MenuInStore";
			this->MenuInStore->Size = System::Drawing::Size(142, 22);
			this->MenuInStore->Text = L"图书入库管理";
			this->MenuInStore->Click += gcnew System::EventHandler(this, &Form1::MenuInStore_Click);
			// 
			// MenuOutput
			// 
			this->MenuOutput->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"MenuOutput.Image")));
			this->MenuOutput->Name = L"MenuOutput";
			this->MenuOutput->Size = System::Drawing::Size(142, 22);
			this->MenuOutput->Text = L"图书出库管理";
			this->MenuOutput->Click += gcnew System::EventHandler(this, &Form1::MenuOutput_Click);
			// 
			// 查询管理ToolStripMenuItem
			// 
			this->查询管理ToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->MenuInQuery, 
				this->MenuOutQuery});
			this->查询管理ToolStripMenuItem->Name = L"查询管理ToolStripMenuItem";
			this->查询管理ToolStripMenuItem->Size = System::Drawing::Size(65, 20);
			this->查询管理ToolStripMenuItem->Text = L"查询管理";
			// 
			// MenuInQuery
			// 
			this->MenuInQuery->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"MenuInQuery.Image")));
			this->MenuInQuery->Name = L"MenuInQuery";
			this->MenuInQuery->Size = System::Drawing::Size(142, 22);
			this->MenuInQuery->Text = L"图书入库查询";
			this->MenuInQuery->Click += gcnew System::EventHandler(this, &Form1::MenuInQuery_Click);
			// 
			// MenuOutQuery
			// 
			this->MenuOutQuery->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"MenuOutQuery.Image")));
			this->MenuOutQuery->Name = L"MenuOutQuery";
			this->MenuOutQuery->Size = System::Drawing::Size(142, 22);
			this->MenuOutQuery->Text = L"图书出库查询";
			this->MenuOutQuery->Click += gcnew System::EventHandler(this, &Form1::MenuOutQuery_Click);
			// 
			// ImageList
			// 
			this->ImageList->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^  >(resources->GetObject(L"ImageList.ImageStream")));
			this->ImageList->TransparentColor = System::Drawing::Color::Transparent;
			this->ImageList->Images->SetKeyName(0, L"47.ico");
			this->ImageList->Images->SetKeyName(1, L"39.ico");
			this->ImageList->Images->SetKeyName(2, L"40.ico");
			this->ImageList->Images->SetKeyName(3, L"41.ico");
			this->ImageList->Images->SetKeyName(4, L"42.ico");
			this->ImageList->Images->SetKeyName(5, L"43.ico");
			this->ImageList->Images->SetKeyName(6, L"44.ico");
			this->ImageList->Images->SetKeyName(7, L"45.ico");
			this->ImageList->Images->SetKeyName(8, L"46.ico");
			// 
			// ToolBar
			// 
			this->ToolBar->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(8) {this->toolStripButton3, this->toolStripButton1, 
				this->toolStripSeparator1, this->toolStripButton4, this->toolStripButton2, this->toolStripSeparator2, this->ButtonInStore, this->toolStripButton5});
			this->ToolBar->Location = System::Drawing::Point(0, 24);
			this->ToolBar->Name = L"ToolBar";
			this->ToolBar->Size = System::Drawing::Size(905, 25);
			this->ToolBar->TabIndex = 1;
			// 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -