#if !defined(AFX_PRINCIPLESYSDLG_H__C652153C_9A61_4E58_97F3_9981C4E5ADF8__INCLUDED_) #define AFX_PRINCIPLESYSDLG_H__C652153C_9A61_4E58_97F3_9981C4E5ADF8__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PrincipleSysDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CPrincipleSysDlg dialog #include "Resource.h" #include class CPrincipleSysDlg : public CDialog { // Construction public: CPrincipleSysDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CPrincipleSysDlg) enum { IDD = IDD_PRINCIPLE_SYS }; CMySpin m_spinLen; CMySpin m_spinFloor; double m_nHeight; double m_nLen; double m_nFloorLen; int m_iMode; //}}AFX_DATA static int m_iNum; static double m_nElevation; static BOOL m_bValve; static int m_iType; static BOOL m_bFloor; XStringList m_lstName, m_lstHeight; double m_nAllHeight, m_nMinEle; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPrincipleSysDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: void OpenSlide(); // Generated message map functions //{{AFX_MSG(CPrincipleSysDlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg void OnButtonHeight(); afx_msg void OnRadioType1(); afx_msg void OnRadioType2(); afx_msg void OnRadioType3(); afx_msg void OnRadioType4(); afx_msg void OnRadioType5(); afx_msg void OnSelchangeComboType(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PRINCIPLESYSDLG_H__C652153C_9A61_4E58_97F3_9981C4E5ADF8__INCLUDED_)