#if !defined(AFX_DIMPIPEELEVATIONDLG_H__1AD985CB_8DDF_419A_B17E_F5E33FE50765__INCLUDED_) #define AFX_DIMPIPEELEVATIONDLG_H__1AD985CB_8DDF_419A_B17E_F5E33FE50765__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DimPipeElevationDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDimPipeElevationDlg dialog #include "Resource.h" //#include class CDimPipeElevationDlg : public CModelessDialog { // Construction public: CDimPipeElevationDlg(CWnd* pParent = NULL); // standard constructor DECLARE_DYNAMIC(CDimPipeElevationDlg) ~CDimPipeElevationDlg() { if(::IsWindow(m_hWnd)) DestroyWindow(); } BOOL UpdateData(BOOL bSaveAndValidate = TRUE);// 重载update函数,支持combobox的数据刷新 // Dialog Data //{{AFX_DATA(CDimPipeElevationDlg) enum { IDD = IDD_DIM_PIPE_ELEVATION }; CString m_csText; CComboBox m_colPerFix; //}}AFX_DATA static BOOL m_bOut; static CString m_csElePrefix; static int m_iScale; static double m_nHeight; static int m_iPrecision; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDimPipeElevationDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CDimPipeElevationDlg) virtual BOOL OnInitDialog(); afx_msg void OnClose(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DIMPIPEELEVATIONDLG_H__1AD985CB_8DDF_419A_B17E_F5E33FE50765__INCLUDED_)