#if !defined(AFX_DISTFLOORDLG_H__1FD8F672_3996_408E_8E20_D030F92C0F97__INCLUDED_) #define AFX_DISTFLOORDLG_H__1FD8F672_3996_408E_8E20_D030F92C0F97__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DistFloorDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDistFloorDlg dialog #include "Resource.h" class CDistFloorDlg : public CDialog { // Construction public: CDistFloorDlg(CWnd* pParent = NULL); // standard constructor bool CheckFirstFloor(); //起始楼层在地上还是地下 zxl 2011.10.24 add // Dialog Data //{{AFX_DATA(CDistFloorDlg) enum { IDD = IDD_DIST_FLOOR }; CListCtrl m_listCtrl; double m_nHeight; CString m_csDn; // int m_iSubNum; //}}AFX_DATA XStringList m_lstName, m_lstHeight; int m_iMode; //zxl 2011.10.20 add CString m_sFloorName; //起始楼层名 CString m_sBaseEle; //基准标高 CString m_sStartBaseEle; //起始楼层标高 CString m_sFloorPostfixName; //楼层名后缀,1F 1层 1楼 CString m_sBasementName; //地下室前缀,-2F, 地下1楼 int m_iFirstFloor; //起始楼层号 static double m_dBaseEle; //记忆上一次基准标高 static double m_dFloorHeight; //记忆上一次楼层初始化高度 CString m_sFloorHeight; //从上级对话框获取的楼层高度 // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDistFloorDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CDistFloorDlg) virtual BOOL OnInitDialog(); afx_msg void OnItemchangedListFloor(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnButtonModify(); virtual void OnOK(); afx_msg void OnButtonLast(); afx_msg void OnKillfocusCmbSfloor(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DISTFLOORDLG_H__1FD8F672_3996_408E_8E20_D030F92C0F97__INCLUDED_)