68 lines
1.3 KiB
C++
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_)
|