You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.2 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include "Resource.h"
// CPage2 dialog
//class CFUISheet;
class AFX_EXT_CLASS CPageGrid : public CPropertyPage
{
DECLARE_DYNAMIC(CPageGrid)
public:
CPageGrid();
virtual ~CPageGrid();
// Dialog Data
enum { IDD = IDD_PROPPAGE_PAGE_GRID };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
///** @brief 初始化各属性参数 */
int Initial(SGridParamEx& gp);
/** @brief 得到数据的范围值*/
/*BOOL GetDataRange(CString strInput);*/
///** @brief 得到边界范围值,如不成功返回FALSE*/
//BOOL GetOutlineRange(CString strInput);
virtual BOOL OnSetActive();
virtual BOOL OnInitDialog();
public:
BOOL m_bEqualDxDy;
BOOL m_bInitial; ///< 记录是否已经被初始化
CString m_strCurGridNumDelt;
CString m_strXMin;
CString m_strYMin;
CString m_strZMin;
CString m_strXMax;
CString m_strYMax;
CString m_strZMax;
CString m_strDX;
CString m_strDY;
CString m_strDZ;
int m_numx;
int m_numy;
int m_times;
int m_timeflt; ///< 第几次考虑断层
public:
/** @brief 消息响应*/
afx_msg void OnEnChangeEditGridXnum();
afx_msg void OnEnChangeEditGridYnum();
//afx_msg void OnEnChangeEditDeltX();
//afx_msg void OnEnChangeEditDeltY();
afx_msg void OnEnChangeEditGridTimes();
};