UserManagement.h
上传用户:shgx688
上传日期:2009-12-27
资源大小:855k
文件大小:2k
源码类别:

SNMP编程

开发平台:

MultiPlatform

  1. #if !defined(AFX_USERMANAGEMENT_H__B51576BF_E0A5_41C9_A09B_E3EB78E6C979__INCLUDED_)
  2. #define AFX_USERMANAGEMENT_H__B51576BF_E0A5_41C9_A09B_E3EB78E6C979__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // UserManagement.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CUserManagement dialog
  10. class CUserManagement : public CDialog
  11. {
  12. // Construction
  13. public:
  14. BOOL m_bAutoSave;
  15. void SaveData();
  16. void LoadData();
  17. _variant_t vUserID,vUsername,vPower,vPassword;
  18. BOOL m_bSuccess;
  19. int m_nCurrentSel;
  20. _RecordsetPtr m_pRecordset;
  21. CUserManagement(CWnd* pParent = NULL);   // standard constructor
  22. // Dialog Data
  23. //{{AFX_DATA(CUserManagement)
  24. enum { IDD = IDD_DIALOG_USER };
  25. CListCtrl m_userlist;
  26. CButton m_cDelItem;
  27. CButton m_cAddItem;
  28. CString m_password;
  29. CString m_passwordc;
  30. CString m_power;
  31. CString m_username;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CUserManagement)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CUserManagement)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnAdditem();
  45. afx_msg void OnDelitem();
  46. afx_msg void OnItemchangedUserlist(NMHDR* pNMHDR, LRESULT* pResult);
  47. virtual void OnOK();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_USERMANAGEMENT_H__B51576BF_E0A5_41C9_A09B_E3EB78E6C979__INCLUDED_)