departmentdlg.h

来自「简单的学生成绩管理系统」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_DEPARTMENTDLG1_H__1AD4274B_6463_449B_9149_4F9F14784BA3__INCLUDED_)
#define AFX_DEPARTMENTDLG1_H__1AD4274B_6463_449B_9149_4F9F14784BA3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DepartmentDlg1.h : header file
//
#include "DepartmentSet.h"
/////////////////////////////////////////////////////////////////////////////
// CDepartmentDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CDepartmentDlg)
	enum { IDD = IDD_DIALOG_DEPARTMENT };
	CListCtrl	m_ctrList;
	CButton	m_bntSave;
	CButton	m_bntNew;
	CButton	m_bntModify;
	CButton	m_bntDelete;
	CString	m_strCode;
	CString	m_strInfo;
	CString	m_strName;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDepartmentDlg)
	afx_msg void OnButtonNew();
	afx_msg void OnButtonSave();
	afx_msg void OnButtonModify();
	afx_msg void OnButtonDelete();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CDepartmentSet  m_recordset;
public:
	void RefreshData();

};

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

#endif // !defined(AFX_DEPARTMENTDLG1_H__1AD4274B_6463_449B_9149_4F9F14784BA3__INCLUDED_)

⌨️ 快捷键说明

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