UserManagement.h
资源名称:SNMP范例源代码.zip [点击查看]
上传用户:shgx688
上传日期:2009-12-27
资源大小:855k
文件大小:2k
源码类别:
SNMP编程
开发平台:
MultiPlatform
- #if !defined(AFX_USERMANAGEMENT_H__B51576BF_E0A5_41C9_A09B_E3EB78E6C979__INCLUDED_)
- #define AFX_USERMANAGEMENT_H__B51576BF_E0A5_41C9_A09B_E3EB78E6C979__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // UserManagement.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CUserManagement dialog
- class CUserManagement : public CDialog
- {
- // Construction
- public:
- BOOL m_bAutoSave;
- void SaveData();
- void LoadData();
- _variant_t vUserID,vUsername,vPower,vPassword;
- BOOL m_bSuccess;
- int m_nCurrentSel;
- _RecordsetPtr m_pRecordset;
- CUserManagement(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CUserManagement)
- enum { IDD = IDD_DIALOG_USER };
- CListCtrl m_userlist;
- CButton m_cDelItem;
- CButton m_cAddItem;
- CString m_password;
- CString m_passwordc;
- CString m_power;
- CString m_username;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CUserManagement)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CUserManagement)
- virtual BOOL OnInitDialog();
- afx_msg void OnAdditem();
- afx_msg void OnDelitem();
- afx_msg void OnItemchangedUserlist(NMHDR* pNMHDR, LRESULT* pResult);
- virtual void OnOK();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_USERMANAGEMENT_H__B51576BF_E0A5_41C9_A09B_E3EB78E6C979__INCLUDED_)