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

65 lines
1.4 KiB
C++

#if !defined(AFX_PIPEDOWNDIMEDITDLG_H__5CA44E8C_5919_442A_B634_EA5964FAEE50__INCLUDED_)
#define AFX_PIPEDOWNDIMEDITDLG_H__5CA44E8C_5919_442A_B634_EA5964FAEE50__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"
class CPipeDownDimEditDlg : public CDialog
{
public:
CPipeDownDimEditDlg(CWnd* pParent = NULL);
int GetDimType();
void SetDimType(int nDimType);
//{{AFX_DATA(CPipeDownDimEditDlg)
enum { IDD = IDD_PIPEDOWNDIM_EDIT };
//}}AFX_DATA
//{{AFX_VIRTUAL(CPipeDownDimEditDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
public:
// 取值的大小与TdbWellDim中的标注样式值相对应
enum DimType
{
eNone = -1,
eType0 = 1,
eType1 = 5,
eType2 = 7, // cet 2011.3.16 add
eType3 = 8, // cet 2011.6.16 add
};
protected:
//{{AFX_MSG(CPipeDownDimEditDlg)
afx_msg void OnStcType0();
afx_msg void OnStcType1();
afx_msg void OnPaint();
afx_msg void OnStcType2();
afx_msg void OnStcType3();
//}}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_PIPEDOWNDIMEDITDLG_H__5CA44E8C_5919_442A_B634_EA5964FAEE50__INCLUDED_)