| | |
| | | private: |
| | | void InitUserManager(); |
| | | void FillUserManager(); |
| | | void AddRow(CGridCtrl* pGridCtrl); |
| | | void DeleteSelectedRow(CGridCtrl* pGridCtrl); |
| | | bool IsUsernameDuplicate(const CString& username); |
| | | void AdjustControls(int nWidth, int nHeight); |
| | | void AdjustControlFont(CWnd* pWnd, int nWidth, int nHeight); |
| | | |
| | | private: |
| | | int m_nInitialWidth; |
| | | int m_nInitialHeight; |
| | | std::map<CString, CString> m_mapRoleDescriptions; |
| | | |
| | | private: |
| | | CGridCtrl m_gridUserManager; |
| | |
| | | public: |
| | | virtual BOOL OnInitDialog(); |
| | | afx_msg void OnSize(UINT nType, int cx, int cy); |
| | | afx_msg void OnGridComboSelChange(NMHDR* pNMHDR, LRESULT* pResult); |
| | | afx_msg void OnBnClickedButtonAdd(); |
| | | afx_msg void OnBnClickedButtonInsert(); |
| | | afx_msg void OnBnClickedButtonDel(); |
| | | afx_msg void OnBnClickedOk(); |
| | | }; |