admiuserdlg.h

来自「使用vc进行数据库编程的好例子」· C头文件 代码 · 共 73 行

H
73
字号
#if !defined(AFX_ADMIUSERDLG_H__08400629_DC4E_4E5B_804D_A346C9B1561A__INCLUDED_)
#define AFX_ADMIUSERDLG_H__08400629_DC4E_4E5B_804D_A346C9B1561A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AdmiUserDlg.h : header file
//
#include "AdmiSet.h"
#include "AddNewUserDlg.h"
#include "ShadeButtonST.h"
#include "BCMenu.h"

#ifdef	BTNST_USE_BCMENU
#include "BCMenu.h"
#endif
/////////////////////////////////////////////////////////////////////////////
// CAdmiUserDlg dialog

class CAdmiUserDlg : public CDialog
{
// Construction
public:
	int NowUserID;
	int m_isAdmi;
	int m_UserID;
	CString m_UserKey;
	CString m_UserName;
	int newID;
	void Refresh();
	CAdmiSet* m_AdmiSet;
	CAddNewUserDlg m_AddDlg;
	CAdmiUserDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAdmiUserDlg)
	enum { IDD = IDD_ADMIUSER };
	CListBox	m_ListMember;
	CShadeButtonST	m_btnOK;
	CShadeButtonST	m_btnModify;
	CShadeButtonST	m_btnDelete;
	CShadeButtonST	m_btnAdd;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAdmiUserDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnDeleteuser();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnAdduser();
	afx_msg void OnQuanxianAdmi();
	afx_msg void OnQuanxianUser();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ADMIUSERDLG_H__08400629_DC4E_4E5B_804D_A346C9B1561A__INCLUDED_)

⌨️ 快捷键说明

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