bookdialog1.h

来自「是一个很好的c++家族管理系统」· C头文件 代码 · 共 79 行

H
79
字号
#if !defined(AFX_BOOKDIALOG1_H__6E11743D_21FC_4747_A7C6_00D3A1D4473B__INCLUDED_)
#define AFX_BOOKDIALOG1_H__6E11743D_21FC_4747_A7C6_00D3A1D4473B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CBookDialog dialog
#include "BtnST.h"
#include "BookDatas.h"
class CBookDialog : public CDialog
{
// Construction
public:
	void RefreshData();
	CBookDialog(CWnd* pParent = NULL);   // standard constructor
//特效按钮
	CButtonST m_btnCreateMember;
	CButtonST m_btnEmail;
	CButtonST m_btnProperty;
	CButtonST m_btnDelete;
	CButtonST m_btnFind;
	CButtonST m_btnBack;
	CButtonST m_btnFont;
    CButtonST m_btnNote;


	BOOL InitODBCEnvironment(char *szPathName);
	BOOL CloseODBCEnvironment(char *szPathName);
	TCHAR m_szPathName[400];
	CDatabase* m_pDB;
	void OpenDatabase();
	void CloseDatabase();
	void OpenInitDatabase(CString szDatabase);
	int openDatabase(CDatabase **ppDatabase, CString fileName,
				  BOOL bReportNoOpen /* = TRUE */);
	void closeDatabase(CDatabase **ppDatabase);
	CBookDatas *m_dataRecset;
// Dialog Data
	//{{AFX_DATA(CBookDialog)
	enum { IDD = IDD_DIALOG_BOOK };
		// NOTE: the ClassWizard will add data members here
	CListCtrl	m_list;
	//}}AFX_DATA
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBookDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
		DWORD m_dwUser;
     // Generated message map functions
	//{{AFX_MSG(CBookDialog)
     virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnButtonMember();
	afx_msg void OnButtonDelete();
	afx_msg void OnButtonProperty();
	afx_msg void OnButtonFind();
	afx_msg void OnButtonEmail();
	afx_msg void OnButtonBack();
	afx_msg void OnButtonFont();
	afx_msg void OnButtonNote();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_BOOKDIALOG1_H__6E11743D_21FC_4747_A7C6_00D3A1D4473B__INCLUDED_)

⌨️ 快捷键说明

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