userdlg.h

来自「最后的成品vc考勤ACCSEE数据库做的 还有文档 希望大家多多指点jil」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_USERDLG_H__569354B2_6F50_4537_88A8_71491BA76E48__INCLUDED_)
#define AFX_USERDLG_H__569354B2_6F50_4537_88A8_71491BA76E48__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CUserDlg dialog
#include"UserSet.h"
class CUserDlg : public CDialog
{
// Construction
public:
    //bool OnInitDialog();
	CUserSet m_userSet;
	void ResetButton();
	void RefreshList();
	CUserDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CUserDlg)
	enum { IDD = IDD_DIALOG2 };
	CEdit	m_strPassword;
	CButton	m_bConfirm;
	CEdit	m_strUser;
	CComboBox	m_cLevel;
	CButton	m_bEdit;
	CButton	m_bDel;
	CButton	m_bAdd;
	CListCtrl	m_list;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CUserDlg)
	afx_msg void OnClickListUser(NMHDR* pNMHDR, LRESULT* pResult);
	virtual BOOL OnInitDialog();
	afx_msg void OnUserAdd();
	afx_msg void OnUserEdit();
	afx_msg void OnUserDel();
	afx_msg void OnUserOk();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_USERDLG_H__569354B2_6F50_4537_88A8_71491BA76E48__INCLUDED_)

⌨️ 快捷键说明

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