📄 student.h
字号:
#if !defined(AFX_STUDENT_H__2991719C_2DAB_4331_8891_6AC06E1F9F6B__INCLUDED_)
#define AFX_STUDENT_H__2991719C_2DAB_4331_8891_6AC06E1F9F6B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Student.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStudent dialog
class CStudent : public CDialog
{
// Construction
public:
void read();
void Execute(CString str);
int Count();
void Read(int i);
void Test(CString str);
CStudent(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStudent)
enum { IDD = IDD_Student };
CString m_birth;
CString m_class;
int m_Count;
CString m_dept;
CString m_name;
CString m_number;
CString m_sex;
int i; //顺序
CString m_search;
//}}AFX_DATA
_ConnectionPtr m_pConnection;
_RecordsetPtr m_pRecordset;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStudent)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStudent)
virtual BOOL OnInitDialog();
afx_msg void Previous_One();
afx_msg void First_One();
afx_msg void Next_One();
afx_msg void Last_One();
afx_msg void OnAdd();
afx_msg void OnModify();
afx_msg void OnDelete();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnPaint();
afx_msg void Search();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDENT_H__2991719C_2DAB_4331_8891_6AC06E1F9F6B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -