#pragma once #include "afxwin.h" class CSectionSettingDlg : public CDialog { DECLARE_DYNAMIC(CSectionSettingDlg) public: CSectionSettingDlg(bool bCircle, CWnd* pParent = NULL); virtual ~CSectionSettingDlg(); enum { IDD = IDD_SECTION_SETTING_DLG }; protected: virtual void DoDataExchange(CDataExchange* pDX); virtual BOOL OnInitDialog(); DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedOk(); double m_fA; double m_fB; bool m_bCircle; CStatic m_CtrlStaA; CStatic m_CtrlStaB; CEdit m_CtrlEdtA; CEdit m_CtrlEdtB; CStatic m_CtrlStaMA; CStatic m_CtrlStaMB; };