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

74 lines
1.8 KiB
C++

#pragma once
#include "Resource.h"
#include "symbdialog.h"
class CWellDlg : public CModelessDialog
{
public:
DECLARE_DYNAMIC(CWellDlg)
CWellDlg(CWnd* pParent = NULL); // standard constructor
~CWellDlg()
{
if (::IsWindow(m_hWnd))
DestroyWindow();
}
enum { IDD = IDD_WELL };
CStatic m_wndReal;
CStatic m_wndOut;
CEdit m_edtRadius;
CComboBox m_comboMat;
double m_nScale;
CString m_csName;
static BOOL m_bDrawPipe;
static int m_iPipeSys;
static int m_iMaterial;
static double m_nDist;
static CString m_csDimPos;
static CString m_csDn; // cet 2010.9.7 add 记忆数值
static double m_nElevation; // cet 2010.9.7 add 记忆数值
static double m_nGradient; // cet 2010.9.7 add 记忆数值
static BOOL m_bFirstRun; // cet 2010.9.7 add 是否第一次运行
static int m_iMode; // cet 2011.6.14 add 记忆数值
static int m_iDrawType; // zxl 2013.07.26 add
static double m_dRealScale; // zxl 2013.07.26 add
static double m_dOutScale; // zxl 2013.07.26 add
CString m_csHead;
const TCHAR* GetPipeLayer();
const TCHAR* GetWellLayer();
const TCHAR* GetHead();
static double m_dWellRadius;
CString m_csBlkName;
bool m_bCanChangeStyle; // zxl 2012.08.21 add
bool m_bChangeSys;
bool GetWellStyleChangble();
void DrawTypeChanged();// zxl 2013.07.26 add
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
protected:
void OpenSlide();
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnClose();
afx_msg void OnCheckPipe();
afx_msg void OnRadioMode1();
afx_msg void OnRadioMode2();
afx_msg void OnKillfocusEditDist();
afx_msg void OnSelchangeComboPipe();
afx_msg void OnPreviewWell();
afx_msg void OnRadioMode3();
afx_msg void OnRadioMode4();
afx_msg void OnRadioMode5();
afx_msg void OnRadioOut();
afx_msg void OnRadioReal();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};