WinApp.h
资源名称:CAD.zip [点击查看]
上传用户:hehe2haha
上传日期:2013-08-16
资源大小:161k
文件大小:1k
源码类别:
CAD
开发平台:
Visual C++
- // WinApp.h: interface for the CWinApp class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_WINAPP_H__4A9E8B95_F8CD_4E33_A216_0F27C02C56C6__INCLUDED_)
- #define AFX_WINAPP_H__4A9E8B95_F8CD_4E33_A216_0F27C02C56C6__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "MainFrame.h"
- #include "ManagerTool.h"
- #include "DataBase.h"
- class CWinApp
- {
- public:
- CWinApp();
- virtual ~CWinApp();
- public:
- void SetAccel(HACCEL);
- int run();
- BOOL InitInstance();
- ATOM MyRegisterClass();
- void SetCmd(int nCmd);
- int GetCmd(void);
- void SetInst(HINSTANCE hInst);
- HINSTANCE GetInst(void);
- public:
- CDataBase m_DataBase;
- CMainFrame m_MainFrame;
- CManagerTool m_ManagerTool;
- private:
- HACCEL hAccelTable;
- int nCmdShow;
- HINSTANCE hInstance;
- };
- #endif // !defined(AFX_WINAPP_H__4A9E8B95_F8CD_4E33_A216_0F27C02C56C6__INCLUDED_)