📄 dutcomputermanager.h
字号:
// DutComputerManager.h : main header file for the DUTCOMPUTERMANAGER application
//
#if !defined(AFX_DUTCOMPUTERMANAGER_H__F9A4183C_42DA_4C0E_9949_0E7ED421ACFF__INCLUDED_)
#define AFX_DUTCOMPUTERMANAGER_H__F9A4183C_42DA_4C0E_9949_0E7ED421ACFF__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
/////////////////////////////////////////////////////////////////////////////
// CDutComputerManagerApp:
// See DutComputerManager.cpp for the implementation of this class
//
typedef struct _dbbean{
long id;
char serialnum[20];
char wname[20];
char status[10];
char source[20];
char user[20];
double price;
char type[20];
char area[20];
char location[40];
char comment[255];
char cpu[20];
char mem[20];
char harddisk[20];
char videocard[20];
char netcard[20];
char monitor[20];
char keyboard[20];
char mouse[20];
char mainboard[20];
}_ItemDB;
static UINT WM_COLLUM_MESSAGE=RegisterWindowMessage("showallcollum"); //显示列
static UINT WM_QUERY_MESSAGE=RegisterWindowMessage("querystring"); //查询语句
static UINT WM_OUTLISTINFO_MESSAGE=RegisterWindowMessage("outlinestring"); //查询语句
class CDutComputerManagerApp : public CWinApp
{
public:
CDutComputerManagerApp();
CString m_strSQL;
CAdoConnection *m_pConnection;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDutComputerManagerApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
virtual BOOL InitApplication();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CDutComputerManagerApp)
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()
};
extern CDutComputerManagerApp theApp;
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DUTCOMPUTERMANAGER_H__F9A4183C_42DA_4C0E_9949_0E7ED421ACFF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -