📄 courmanage.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -