AccessRights.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #if !defined(AFX_ACCESSRIGHTS_H__66B29164_1AC1_46E3_B82A_FD1245105C1B__INCLUDED_)
  2. #define AFX_ACCESSRIGHTS_H__66B29164_1AC1_46E3_B82A_FD1245105C1B__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // AccessRights.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // AccessRights dialog
  10. class AccessRights : public CDialog
  11. {
  12. CArray<CStringArray, CStringArray>m_List1array;
  13. // Construction
  14. public:
  15. void InitRights();
  16. void SaveToArray();
  17. AccessRights(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(AccessRights)
  20. enum { IDD = IDD_DLGAccessRights };
  21. CComboBox m_combo1;
  22. CListBox m_List2;
  23. CListBox m_List1;
  24. //}}AFX_DATA
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(AccessRights)
  28. protected:
  29. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. // Generated message map functions
  34. //{{AFX_MSG(AccessRights)
  35. virtual BOOL OnInitDialog();
  36. afx_msg void OnButton1();
  37. afx_msg void OnButton2();
  38. virtual void OnOK();
  39. afx_msg void OnSelchangeCombo1();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_ACCESSRIGHTS_H__66B29164_1AC1_46E3_B82A_FD1245105C1B__INCLUDED_)