61 lines
1.6 KiB
C++
61 lines
1.6 KiB
C++
#if !defined(AFX_SPRINKLERBYINTERDLG_H__47B3E200_C1C4_4AAE_B0C1_E310AFFBA157__INCLUDED_)
|
|
#define AFX_SPRINKLERBYINTERDLG_H__47B3E200_C1C4_4AAE_B0C1_E310AFFBA157__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// SprinklerByInterDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSprinklerByInterDlg dialog
|
|
#include "Resource.h"
|
|
//#include <ModelessDialog.h>
|
|
#include "realedit.h"
|
|
|
|
class CSprinklerByInterDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CSprinklerByInterDlg(CWnd* pParent = NULL); // standard constructor
|
|
DECLARE_DYNAMIC(CSprinklerByInterDlg)
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CSprinklerByInterDlg)
|
|
enum { IDD = IDD_SPRINKLER_INTER };
|
|
CRealEdit m_editEle;
|
|
BOOL m_bDrawCir;
|
|
CString m_csRadius;
|
|
double m_nEle;
|
|
BOOL m_bLay;
|
|
BOOL m_bPipe;
|
|
//}}AFX_DATA
|
|
static int m_iType;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSprinklerByInterDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSprinklerByInterDlg)
|
|
afx_msg void OnCheckDraw();
|
|
afx_msg void OnClose();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnKillfocusEditEle();
|
|
afx_msg void OnKillfocusComboRadius();
|
|
afx_msg LONG_PTR onAcadKeepFocus(UINT_PTR, LONG_PTR);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SPRINKLERBYINTERDLG_H__47B3E200_C1C4_4AAE_B0C1_E310AFFBA157__INCLUDED_)
|