58 lines
1.4 KiB
C++
58 lines
1.4 KiB
C++
#if !defined(AFX_CUBICSETDLG_H__33DE1150_CFAB_4598_9334_D2974CD96261__INCLUDED_)
|
|
#define AFX_CUBICSETDLG_H__33DE1150_CFAB_4598_9334_D2974CD96261__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// CubicSetDlg.h : header file
|
|
//
|
|
#include "NewUI.h"
|
|
#include "resource.h"
|
|
#include "dbrect.h"
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CCubicSetDlg dialog
|
|
|
|
class CCubicSetDlg : public CUIDlg
|
|
{
|
|
protected:
|
|
bool bCreate;//当前状态是编辑还是创建.
|
|
public:
|
|
CCubicSetDlg(bool bCreating=true); // standard constructor
|
|
BOOL Create();
|
|
~CCubicSetDlg();
|
|
void Init(TDbRect&rect,bool bOut=true);
|
|
// Dialog Data
|
|
//{{AFX_DATA(CCubicSetDlg)
|
|
enum { IDD = IDD_CUBIC_SET };
|
|
//}}AFX_DATA
|
|
static BOOL b3D;
|
|
static double height;
|
|
static double elev;
|
|
static BOOL bCross;
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CCubicSetDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CCubicSetDlg)
|
|
afx_msg void On3d();
|
|
virtual BOOL OnInitDialog();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
//double m_dtest;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_CUBICSETDLG_H__33DE1150_CFAB_4598_9334_D2974CD96261__INCLUDED_)
|