moneyviewdlg.h

来自「实现了一个简单的个人事务助理的工具」· C头文件 代码 · 共 68 行

H
68
字号
#if !defined(AFX_MONEYVIEWDLG_H__EB9AA851_0990_469C_B15B_5AC031786E5F__INCLUDED_)
#define AFX_MONEYVIEWDLG_H__EB9AA851_0990_469C_B15B_5AC031786E5F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MoneyViewDlg.h : header file
//
#include "MoneyRecord.h"
/////////////////////////////////////////////////////////////////////////////
// CMoneyViewDlg dialog

class CMoneyViewDlg : public CDialog 
{
// Construction
public:
	BOOL QueryFromDb();
	BOOL LoadFromDb();
	CMoneyViewDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CMoneyViewDlg)
	enum { IDD = IDD_MONEY_VIEW };
	CComboBox	m_comboType;
	CListCtrl	m_listMoney;
	CString		m_strID;
	UINT		m_nSum;
	UINT		m_nYear;
	UINT		m_nMonth;
	UINT		m_nDay;
	//}}AFX_DATA
	CString m_strType;
	CTime   m_Date;

	UINT m_nPage;
	CString m_strFilter;

	CDatabase * p_Database;
	CMoneyRecord * p_Record;


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMoneyViewDlg)
	virtual void OnOK();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnQuery();
	afx_msg void OnPref();
	afx_msg void OnNext();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MONEYVIEWDLG_H__EB9AA851_0990_469C_B15B_5AC031786E5F__INCLUDED_)

⌨️ 快捷键说明

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