www.pudn.com > Geotest.rar > InfoDlg.cpp
// InfoDlg.cpp : implementation file
//
#include "stdafx.h"
#include "geotest.h"
#include "InfoDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CInfoDlg dialog
CInfoDlg::CInfoDlg(CWnd* pParent /*=NULL*/)
: CDialog(CInfoDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CInfoDlg)
m_hight = _T("");
m_maxx = _T("");
m_maxy = _T("");
m_minx = _T("");
m_miny = _T("");
m_width = _T("");
//}}AFX_DATA_INIT
m_pMapX =NULL;
}
CInfoDlg::CInfoDlg(CMapX* pMapX,CWnd* pParent /*=NULL*/)
: CDialog(CInfoDlg::IDD, pParent)
{
m_hight = _T("");
m_maxx = _T("");
m_maxy = _T("");
m_minx = _T("");
m_miny = _T("");
m_width = _T("");
m_pMapX = pMapX;
}
void CInfoDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CInfoDlg)
DDX_Text(pDX, IDC_HEIGHT, m_hight);
DDX_Text(pDX, IDC_MAXX, m_maxx);
DDX_Text(pDX, IDC_MAXY, m_maxy);
DDX_Text(pDX, IDC_MINX, m_minx);
DDX_Text(pDX, IDC_MINY, m_miny);
DDX_Text(pDX, IDC_WIDTH, m_width);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CInfoDlg, CDialog)
//{{AFX_MSG_MAP(CInfoDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInfoDlg message handlers