courmanage.h

来自「学生考勤统计软件」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_COURMANAGE_H__8548CB45_D9FF_4121_8834_7CC6D5377A1E__INCLUDED_)
#define AFX_COURMANAGE_H__8548CB45_D9FF_4121_8834_7CC6D5377A1E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CourManage.h : header file
//
#include "DepInfo.h"
#include "ADOConn.h"
/////////////////////////////////////////////////////////////////////////////
// CCourManage dialog


//课程管理类
class CCourManage : public CDialog
{
public:
	ADOConn		 m_CurAdo;     // 当前数据库指针
	CStringArray sa_ActID,sa_ActName; //用于存储list控件中的值和对应的ID号
// Construction
public:
	void ReadToList();
	CCourManage(CWnd* pParent = NULL);   // standard constructor
	~CCourManage();
// Dialog Data
	//{{AFX_DATA(CCourManage)
	enum { IDD = IDD_DIALOG_COURSE };
	CListBox	m_lstAct;
	CString	m_strAct;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCourManage)
	virtual BOOL OnInitDialog();
	afx_msg void OnActAdd();
	afx_msg void OnActMod();
	afx_msg void OnActDel();
	afx_msg void OnExit();
	afx_msg void OnSelchangeActList();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_COURMANAGE_H__8548CB45_D9FF_4121_8834_7CC6D5377A1E__INCLUDED_)

⌨️ 快捷键说明

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