courseidlg.h

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

H
68
字号
#if !defined(AFX_COURSEIDLG_H__1ECF4B23_5BBE_433C_968D_31DEC48FD031__INCLUDED_)
#define AFX_COURSEIDLG_H__1ECF4B23_5BBE_433C_968D_31DEC48FD031__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCourseIdlg dialog

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

// Dialog Data
	//{{AFX_DATA(CCourseIdlg)
	enum { IDD = IDD_DLG_COURSEI };
	CString	m_help;
	CString	m_introduction;
	CString	m_kind;
	CString	m_name;
	CString	m_course_no;
	CString	m_ccredit;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCourseIdlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnOk();
	virtual void OnCancel();
	afx_msg void OnSetfocusEditCredit();
	afx_msg void OnSetfocusEditIntrodc();
	afx_msg void OnSetfocusEditKind();
	afx_msg void OnSetfocusEditName();
	//}}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;


};

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

#endif // !defined(AFX_COURSEIDLG_H__1ECF4B23_5BBE_433C_968D_31DEC48FD031__INCLUDED_)

⌨️ 快捷键说明

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