📄 adressdlg.h
字号:
// AdressDlg.h : header file
//
#if !defined(AFX_ADRESSDLG_H__E3FF26DC_6DBF_4651_8F15_525F5989BD0E__INCLUDED_)
#define AFX_ADRESSDLG_H__E3FF26DC_6DBF_4651_8F15_525F5989BD0E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAdressDlg dialog
class CAdressDlg : public CDialog
{
// Construction
public:
CADORecordset* pRs;
CADODatabase* pDB;
CAdressDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAdressDlg)
enum { IDD = IDD_ADRESS_DIALOG };
CListCtrl m_listBook;
CString m_editEmail;
CString m_editName;
CString m_editQueryName;
CString m_editQueryTelephone;
CString m_editSex;
CString m_editTelephone;
CString m_editType;
CString m_strID;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAdressDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void RefreshList(CADORecordset& recordset);
void ShowDetail();
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAdressDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClickListBook(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonQuery1();
afx_msg void OnButtonAdd();
afx_msg void OnButtonQuery2();
afx_msg void OnButtonEdit();
afx_msg void OnButtonAll();
afx_msg void OnButtonDelete();
afx_msg void OnButtonFirst();
afx_msg void OnButtonLast();
afx_msg void OnButtonPre();
afx_msg void OnButtonNaxt();
afx_msg void OnButtonExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADRESSDLG_H__E3FF26DC_6DBF_4651_8F15_525F5989BD0E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -