#pragma once #include "resource.h" #include "EarThwormDef.h" class CDPLTDlg : public CDialog { DECLARE_DYNAMIC(CDPLTDlg) public: CDPLTDlg(CWnd* pParent = NULL); virtual ~CDPLTDlg(); enum { IDD = IDD_DCLT_DLG }; void SetZLineStair(ZLineStair& data); bool GetZLineStair(ZLineStair& data) const; void SetFromId(AcDbObjectId& id); protected: virtual void DoDataExchange(CDataExchange* pDX); DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedOk(); virtual BOOL OnInitDialog(); int m_nZs; double m_dSteepW; double m_dSteepH; int m_nSteeps1; int m_nSteeps2; double m_dStairTW; double m_dStairSW; double m_dWell; BOOL m_nUpSide; double m_dRestPtW; double m_dSbThick; double m_dStiffnW; double m_dStiffnH; double m_dBarH; double m_dGarSize0; double m_dGarSize1; double m_dBarSp; double m_dBarSize0; double m_dBarSize1; BOOL m_nGShape; BOOL m_nBShape; double m_dGarExt; double m_dZGarExt; CString m_sGarMat; CString m_sBarMat; double m_dBomEl; afx_msg void OnEnChangeEdit5(); afx_msg void OnEnChangeEdit15(); };