student.h

来自「本程序为教务处管理系统,教师可对学生的成绩进行录入和修改,学生可对成绩进行查询等」· C头文件 代码 · 共 74 行

H
74
字号
#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 + =
减小字号Ctrl + -
显示快捷键?