MoneyDlg.h
上传用户:shcaka8
上传日期:2013-04-06
资源大小:103k
文件大小:2k
- #if !defined(AFX_MONEYDLG_H__E321BF9F_8FFE_4F34_AEEF_AF1D7EAE35BF__INCLUDED_)
- #define AFX_MONEYDLG_H__E321BF9F_8FFE_4F34_AEEF_AF1D7EAE35BF__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MoneyDlg.h : header file
- //
- #include "MoneyRecord.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMoneyEditDlg dialog
- class CMoneyEditDlg : public CDialog
- {
- // Construction
- public:
- BOOL SaveToDb();
- CString GenerateID();
- CMoneyEditDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CMoneyEditDlg)
- enum { IDD = IDD_MONEY_EDIT };
- CButton m_btnUpdate;
- CComboBox m_comboType;
- CString m_strID;
- UINT m_nSum;
- UINT m_nDay;
- UINT m_nMonth;
- UINT m_nYear;
- CString m_strComments;
- //}}AFX_DATA
- CString m_strType;
- CTime m_Date;
- CMoneyRecord * p_Record;
- CDatabase * p_Database;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMoneyEditDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CMoneyEditDlg)
- virtual void OnOK();
- virtual void OnCancel();
- virtual BOOL OnInitDialog();
- afx_msg void OnUpdate();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MONEYDLG_H__E321BF9F_8FFE_4F34_AEEF_AF1D7EAE35BF__INCLUDED_)