active.h

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

H
59
字号
#if !defined(AFX_ACTIVE_H__D4462BDF_473C_483D_881E_71EFAF6AB013__INCLUDED_)
#define AFX_ACTIVE_H__D4462BDF_473C_483D_881E_71EFAF6AB013__INCLUDED_

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

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


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

// Implementation
protected:

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

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

#endif // !defined(AFX_ACTIVE_H__D4462BDF_473C_483D_881E_71EFAF6AB013__INCLUDED_)

⌨️ 快捷键说明

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