»õ ÆÄÀÏ |
| | |
| | | #pragma once |
| | | #include "Singleton.h" |
| | | |
| | | // CPathSettingDlg ëí ìì |
| | | |
| | | class CPathSettingDlg : public CDialogEx, public CSingleton< CPathSettingDlg > |
| | | { |
| | | DECLARE_DYNAMIC(CPathSettingDlg) |
| | | |
| | | public: |
| | | CPathSettingDlg(CWnd* pParent = nullptr); // íì¤ ìì±ìì
ëë¤. |
| | | virtual ~CPathSettingDlg(); |
| | | |
| | | // ëí ìì ë°ì´í°ì
ëë¤. |
| | | |
| | | enum { IDD = IDD_DLG_PATH_SETTING }; |
| | | |
| | | protected: |
| | | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ì§ìì
ëë¤. |
| | | |
| | | CString m_strBinPath; |
| | | CString m_strInspectorPath; |
| | | CString m_strReviewPath; |
| | | CString m_strAlignPath; |
| | | |
| | | DECLARE_MESSAGE_MAP() |
| | | |
| | | public: |
| | | virtual BOOL Create(CWnd* pParentWnd = NULL); |
| | | virtual BOOL PreTranslateMessage(MSG* pMsg); |
| | | |
| | | afx_msg void OnDestroy(); |
| | | afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); |
| | | public: |
| | | afx_msg void OnBnClickedBtnBinPath(); |
| | | afx_msg void OnBnClickedBtnInspectorPath(); |
| | | afx_msg void OnBnClickedBtnReviewPath(); |
| | | afx_msg void OnBnClickedBtnAlignPath(); |
| | | afx_msg void OnBnClickedBtnSave(); |
| | | afx_msg void OnBnClickedCancel(); |
| | | |
| | | void PathSettingLoad(); |
| | | CString GetBinPath() { return m_strBinPath; } |
| | | CString GetInspectorPath() { return m_strInspectorPath; } |
| | | CString GetReviewPath() { return m_strReviewPath; } |
| | | CString GetAlignPath() { return m_strAlignPath; } |
| | | }; |