📄 ch15demo1dlg.h
字号:
// Ch15Demo1Dlg.h : header file
//
#if !defined(AFX_CH15DEMO1DLG_H__2540351C_AEB9_4387_9F1A_C0B3CF86B701__INCLUDED_)
#define AFX_CH15DEMO1DLG_H__2540351C_AEB9_4387_9F1A_C0B3CF86B701__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCh15Demo1Dlg dialog
class CCh15Demo1Dlg : public CDialog
{
// Construction
public:
CCh15Demo1Dlg(CWnd* pParent = NULL); // standard constructor
_ConnectionPtr m_pConnection;//连接对象
_RecordsetPtr m_pRecordset; //记录集对象
int count;//记录数
int curNo;//当前操作记录
// Dialog Data
//{{AFX_DATA(CCh15Demo1Dlg)
enum { IDD = IDD_CH15DEMO1_DIALOG };
CString m_StuNo;
CString m_StuName;
CString m_StuAddress;
CString m_StuTel;
CString m_Status;
int m_radio;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCh15Demo1Dlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
void ShowRecord();//显示记录
// Generated message map functions
//{{AFX_MSG(CCh15Demo1Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnRadio3();
afx_msg void OnAdd();
afx_msg void OnCheckin();
afx_msg void OnRemove();
afx_msg void OnFirst();
afx_msg void OnLast();
afx_msg void OnNext();
afx_msg void OnPrev();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CH15DEMO1DLG_H__2540351C_AEB9_4387_9F1A_C0B3CF86B701__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -