AddrListDlg.h
上传用户:shcaka8
上传日期:2013-04-06
资源大小:103k
文件大小:2k
- #if !defined(AFX_ADDRLISTDLG_H__ABDCD76D_E21B_40EC_AB1F_EC2E50C9906B__INCLUDED_)
- #define AFX_ADDRLISTDLG_H__ABDCD76D_E21B_40EC_AB1F_EC2E50C9906B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // AddrListDlg.h : header file
- //
- #include "AddrListRecord.h"
- /////////////////////////////////////////////////////////////////////////////
- // CAddrListDlg dialog
- class CAddrListDlg : public CDialog
- {
- // Construction
- public:
- BOOL QueryFromDb();
- BOOL SaveToDb();
- CAddrListDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CAddrListDlg)
- enum { IDD = IDD_ADDR_EDITLIST };
- CComboBox m_comboRelation;
- CComboBox m_comboSex;
- CString m_strName;
- UINT m_nAge;
- CString m_strMobilPhone;
- CString m_strMemory;
- CString m_strTelePhone;
- //}}AFX_DATA
- CString m_strSex;
- CString m_strRelation;
- CString m_strFilter;
- CDatabase * p_Database;
- CAddrListRecord * p_Record;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CAddrListDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CAddrListDlg)
- virtual void OnOK();
- virtual void OnCancel();
- afx_msg void OnQuery();
- afx_msg void OnUpdate();
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ADDRLISTDLG_H__ABDCD76D_E21B_40EC_AB1F_EC2E50C9906B__INCLUDED_)