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