SDC C-Project CF Review 프로그램
LYW
2021-11-09 9ad2aa59da822e9d30c5e0cd677025fe6e12df95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#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; }
    CComboBox m_comboDirectionX;
    CComboBox m_comboDirectionY;
    virtual BOOL OnInitDialog();
};