Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

64 lines
1.7 KiB
C++

#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 <ModelessDialog.h>
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_)