📄 testdbdlg.h
字号:
// TestDBDlg.h : header file
//
#if !defined(AFX_TESTDBDLG_H__29BFE24E_B1FA_4C67_B3C9_A318C2046F49__INCLUDED_)
#define AFX_TESTDBDLG_H__29BFE24E_B1FA_4C67_B3C9_A318C2046F49__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CTestDBDlg dialog
class CTestDBDlg : public CDialog
{
// Construction
public:
void DelRecordByOdbc();
void EditRecordByOdbc();
void AddRecordByOdbc();
void ReadRecordByOdbc();
void DelRecordByOci();
void EditRecordByOci();
void AddRecordByOci();
void ReadRecordByOci();
CTestDBDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTestDBDlg)
enum { IDD = IDD_TESTDB_DIALOG };
CListCtrl m_ListCtl;
CString m_strNo;
CString m_strName;
CString m_strAge;
CString m_strSex;
CString m_strAddress;
int m_nMode;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestDBDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CTestDBDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnReadButton();
afx_msg void OnItemchangedRecordList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnAddButton();
afx_msg void OnEditButton();
afx_msg void OnDelButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTDBDLG_H__29BFE24E_B1FA_4C67_B3C9_A318C2046F49__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -