#if !defined(AFX_SPRINKISOMETRYDLG_H__C7DBE9F7_A133_4D15_980E_B1D949B720ED__INCLUDED_) #define AFX_SPRINKISOMETRYDLG_H__C7DBE9F7_A133_4D15_980E_B1D949B720ED__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SprinkIsometryDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CSprinkIsometryDlg dialog #include "Resource.h" //#include #include "MySpin.h" #include "realedit.h" class CSprinkIsometryDlg : public CDialog { // Construction public: CSprinkIsometryDlg(CWnd* pParent = NULL); CString GetPipeLayer();//zxl 2011.11.29 add DECLARE_DYNAMIC(CSprinkIsometryDlg) // Dialog Data //{{AFX_DATA(CSprinkIsometryDlg) enum { IDD = IDD_SPRINKLER_ISOMETRY }; CRealEdit m_editCol2Wall; CRealEdit m_editCol; CRealEdit m_editAngle; CRealEdit m_editRow; CRealEdit m_editRow2Wall; CRealEdit m_editEle; CMySpin m_spinRow2Wall; CMySpin m_spinCol2Wall; CMySpin m_spinCol; CMySpin m_spinRow; CMySpin m_spinAngle; double m_nAngle; BOOL m_bDrawCir; CString m_csRadius; //}}AFX_DATA static double m_nXDist; static double m_nYDist; static double m_nRow2Wall; static double m_nCol2Wall; static double m_nEle; static int m_bNoBreak; static int m_iConPipe; //zxl 2011.11.29 add static int m_nPipeType; CString m_sPipeLayer; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSprinkIsometryDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CSprinkIsometryDlg) afx_msg void OnClose(); virtual BOOL OnInitDialog(); afx_msg void OnCheckDraw(); afx_msg void OnSelchangeComboPipetype(); afx_msg void OnKillfocusComboRadius(); afx_msg void OnKillfocusEditAngle(); afx_msg void OnKillfocusEditColnum(); afx_msg void OnKillfocusEditColnum2wall(); afx_msg void OnKillfocusEditEle(); afx_msg void OnKillfocusEditRow2wall(); afx_msg void OnKillfocusEditRownum(); afx_msg LONG_PTR onAcadKeepFocus(UINT_PTR, LONG_PTR); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SPRINKISOMETRYDLG_H__C7DBE9F7_A133_4D15_980E_B1D949B720ED__INCLUDED_)