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

68 lines
1.3 KiB
C++

#if !defined(AFX_WELLDIMEDITDLG_H__48B1C550_A88C_422E_80A7_15A8B193E4FD__INCLUDED_)
#define AFX_WELLDIMEDITDLG_H__48B1C550_A88C_422E_80A7_15A8B193E4FD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Resource.h"
class CWellDimEditDlg : public CDialog
{
public:
CWellDimEditDlg(CWnd* pParent = NULL);
int GetSelWellDimType();
void SetWellDimType(int nType);
//{{AFX_DATA(CWellDimEditDlg)
enum { IDD = IDD_WELLDIM_EDIT };
//}}AFX_DATA
//{{AFX_VIRTUAL(CWellDimEditDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
public:
enum DimType
{
eNone = -1,
eType0 = 0,
eType2 = 2,
eType3 = 3,
eType4 = 4,
eType6 = 6, // cet 2010.5.14 add
};
protected:
//{{AFX_MSG(CWellDimEditDlg)
afx_msg void OnStcType0();
afx_msg void OnStcType2();
afx_msg void OnStcType3();
afx_msg void OnStcType4();
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnStcType6();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void ChangePicBK(int nCurSel,BOOL bIsSel = FALSE);
void ShowAllPics();
void SetShowPic(int nID, const CString &strPicName);
void SetPicShowType(int nID, const CString &strPicName, BOOL bIsSel);
private:
int m_nLastSel;
};
#endif // !defined(AFX_WELLDIMEDITDLG_H__48B1C550_A88C_422E_80A7_15A8B193E4FD__INCLUDED_)