1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #if !defined(AFX_SETLEFTBAR_H__5C1DEAE2_AEE6_4490_8A22_19C5EF1EC5E8__INCLUDED_)
- #define AFX_SETLEFTBAR_H__5C1DEAE2_AEE6_4490_8A22_19C5EF1EC5E8__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // SetLeftBar.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // SetLeftBar dialog
- class SetLeftBar : public CDialog
- {
- CArray<CStringArray, CStringArray>List1array;
- CArray<CButton*, CButton*>m_pCheckArray;
- CString m_rights;
- // Construction
- public:
- BOOL IsHeader(CString name);
- BOOL IsHasRightsItem(CString rights, CString head, CString name);
- BOOL IsHasRightsHead(CString rights, CString name);
- CString m_account;
- void SetRights(CString rights);
- SetLeftBar(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(SetLeftBar)
- enum { IDD = IDD_DLGSetLeftBar };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(SetLeftBar)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(SetLeftBar)
- virtual BOOL OnInitDialog();
- afx_msg void OnDestroy();
- 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_SETLEFTBAR_H__5C1DEAE2_AEE6_4490_8A22_19C5EF1EC5E8__INCLUDED_)
|