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

80 lines
2.1 KiB
C++

#if !defined(AFX_GULLYDLG_H__2D6F7CD6_C969_4FD0_A64C_C8F31C5F2F2C__INCLUDED_)
#define AFX_GULLYDLG_H__2D6F7CD6_C969_4FD0_A64C_C8F31C5F2F2C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GullyDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CGullyDlg dialog
#include "Resource.h"
#include "SymbDialog.h"
class CGullyDlg : public CModelessDialog
{
// Construction
public:
CGullyDlg(CWnd* pParent = NULL); // standard constructor
int GetGullyPos(); //获取雨水口位置 zxl 2011.09.09 add
~CGullyDlg()
{
if(::IsWindow(m_hWnd))
DestroyWindow();
}
DECLARE_DYNAMIC(CGullyDlg)
// Dialog Data
//{{AFX_DATA(CGullyDlg)
enum { IDD = IDD_GULLY };
CButton m_wndBtnGullyPos;//雨水口位置按钮 zxl 2011.09.09 add
double m_dScale;
//}}AFX_DATA
static int m_iMode;
static int m_iType;
static double m_dDist;
static CString m_sGullyPos;//zxl 2011.09.09 add
BOOL m_bCancel;
CMenu *m_pMenuPos; //zxl 2011.09.09 add
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGullyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);//zxl 2011.09.09 add
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CGullyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnClose();
afx_msg void OnRadioMode1();
afx_msg void OnRadioMode2();
afx_msg void OnRadioMode3();
afx_msg void OnRadioMode4();
afx_msg void OnRadioMode5();
afx_msg void OnRadioMode6();
afx_msg void OnRadioType1();
afx_msg void OnRadioType2();
//添加雨水口类型三蓖、四蓖;zxl 2011.09.09 add
afx_msg void OnRadioType3();
afx_msg void OnRadioType4();
afx_msg void OnButtonGullyPos();//雨水口位置设置 zxl 2011.09.09 add
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GULLYDLG_H__2D6F7CD6_C969_4FD0_A64C_C8F31C5F2F2C__INCLUDED_)