publicquery.h

来自「偶作的毕业设计程序」· C头文件 代码 · 共 87 行

H
87
字号
#if !defined(AFX_PUBLICQUERY_H__EDB4C3B1_C606_4CED_925C_5DF82E31C19F__INCLUDED_)
#define AFX_PUBLICQUERY_H__EDB4C3B1_C606_4CED_925C_5DF82E31C19F__INCLUDED_

#include "LogMngr.h"
#include "resource.h"
#include "PrintList.h"	// Added by ClassView

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PublicQuery.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPublicQuery dialog

class CPublicQuery : public CDialog
{
// Construction
public:
	CPublicQuery(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPublicQuery)
	enum { IDD = IDD_DIALOG9 };
	CComboBox	m_AuthorCtrl;
	CComboBox	m_XinghaoCtrl;
	CListCtrl	m_List;
	CTabCtrl	m_Tab;
	CString	m_SoftName;
	CString	m_SoftNumber;
	CString	m_Xinghao;
	CString	m_SoftType;
	CString	m_Author;
	CString	m_GeShi;
	CTime	m_Stime;
	CTime	m_Etime;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPublicQuery)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPublicQuery)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCheck8();
	afx_msg void OnCheck7();
	afx_msg void OnClose();
	afx_msg void OnPrint();
	afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	void InitCombo();
	//PrintList myPrinter;
	void ConnectDataBase();
	CString m_sql_;
	int m_ListNumber;
	void FindDateLog();
	void FindChatRecord();
	void FindAbandonSoft();
	void FindSoftBorrow();
	void FindUserInfo();
	void FindSoftWare();
	void InitList();
	CLogMngr m_Log;
	_ConnectionPtr m_DBCnt;
	_RecordsetPtr m_Record;
	CString m_strSource;
	bool m_fConnected;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PUBLICQUERY_H__EDB4C3B1_C606_4CED_925C_5DF82E31C19F__INCLUDED_)

⌨️ 快捷键说明

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