stu_classidlg.h

来自「这是一个学生管理系统 包含学生基本信息 选课信息 宿舍信息 教师信息 课程信息 」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_STU_CLASSIDLG_H__384B6945_9DC1_465E_A727_2EC11D063247__INCLUDED_)
#define AFX_STU_CLASSIDLG_H__384B6945_9DC1_465E_A727_2EC11D063247__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Stu_classIdlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStu_classIdlg dialog

class CStu_classIdlg : public CDialog
{
// Construction
public:
	CStu_classIdlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CStu_classIdlg)
	enum { IDD = IDD_DLG_STU_COURSEI };
	CString	m_stu_no;
	CString	m_help;
	CString	m_course_no;
	COleDateTime	m_inputtime;
	int		m_score;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStu_classIdlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CStu_classIdlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnOk();
	virtual void OnCancel();
	afx_msg void OnSetfocusEditScore();
	afx_msg void OnSetfocusEditCourseNo();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	void GenHelp(CString tCategory);
	//CString KillFocus(CString strCategory,CString &strCode,int len);
	BOOL UpdateDB();
	void GenNext();
	CString GetNextNo();
	CDatabase* m_pDB;
	CString m_CollegeNo;
	int m_year;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STU_CLASSIDLG_H__384B6945_9DC1_465E_A727_2EC11D063247__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?