dlgset.h

来自「大学班务管理系统」· C头文件 代码 · 共 60 行

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

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Dlgset.h : header file
//
#include "UserRecordSet.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgset dialog

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

// Dialog Data
	//{{AFX_DATA(CDlgset)
	enum { IDD = IDD_DIALOGset };
	CListCtrl	m_listuser;
	CString	m_adminame;
	CString	m_admincode;
	CString	m_newuser;
	CString	m_code;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgset)
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg void OnBUTTONadduser();
	afx_msg void OnBUTTONdeluser();
	afx_msg void OnBUTTONshowuser();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void initdata();
	void insertuserinfo(CString username,CString code);
	CUserRecordSet m_UserRecordSet;
	//CUserRecordSet m_UserRecordSet;
};

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

#endif // !defined(AFX_DLGSET_H__9362015D_62F4_4260_87BB_A8B1DEC28104__INCLUDED_)

⌨️ 快捷键说明

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