📄 qdmanage.h
字号:
// QDManage.h : main header file for the QDMANAGE application
//
#if !defined(AFX_QDMANAGE_H__B34B2247_6F88_11D7_B8D9_00E0C8390279__INCLUDED_)
#define AFX_QDMANAGE_H__B34B2247_6F88_11D7_B8D9_00E0C8390279__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CQDManageApp:
// See QDManage.cpp for the implementation of this class
//
#define MAX_TEMPLATE_SIZE 1000 // 最大指纹模板大小
// 图标序号,在ImageList中使用
#define SV_USER 0
#define SV_DEPART 1
#define SV_TERMINAL 2
#define SV_SHEARCH_EVENT 3
#define SV_SHEARCH_LOGINOUT 4
#include "RecordsetDepartment.h"
#include "RecordsetEvent.h"
#include "RecordsetEventType.h"
#include "RecordsetTerminal.h"
#include "RecordsetUser.h"
class CQDManageApp : public CWinApp
{
//add
public:
CDatabase m_DBDisplay; // 网格显示用
CDatabase m_DBUser;
CDatabase m_DBTerminal;
CDatabase m_DBDepartment;
CDatabase m_DBEvent;
CDatabase m_DBEventType;
CDatabase m_DBEventFile; // for MDlgEvent use ODBCDBGirdFile
CRecordsetDepartment m_RSDeparment;
CRecordsetEvent m_RSEvent;
CRecordsetEventType m_RSEventType;
CRecordsetTerminal m_RSTerminal;
CRecordsetUser m_RSUser;
CString m_User; // 登陆数据库的用户名
CString m_key; // 密码
CImageList m_ImageList;
public:
CQDManageApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQDManageApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CQDManageApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QDMANAGE_H__B34B2247_6F88_11D7_B8D9_00E0C8390279__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -