www.pudn.com > easygis.rar > RegionQuery.cpp
// RegionQuery.cpp : implementation file
//
#include "stdafx.h"
#include "EasyGis.h"
#include "RegionQuery.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRegionQuery dialog
CRegionQuery::CRegionQuery(CWnd* pParent /*=NULL*/)
: CDialog(CRegionQuery::IDD, pParent)
{
//{{AFX_DATA_INIT(CRegionQuery)
m_LayerName = _T("");
m_ID = 0;
m_idCode = 0;
m_Name = _T("");
//}}AFX_DATA_INIT
}
void CRegionQuery::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRegionQuery)
DDX_Text(pDX, IDC_LayerName, m_LayerName);
DDX_Text(pDX, IDC_ID, m_ID);
DDX_Text(pDX, IDC_IDCODE, m_idCode);
DDX_Text(pDX, IDC_sNAME, m_Name);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRegionQuery, CDialog)
//{{AFX_MSG_MAP(CRegionQuery)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRegionQuery message handlers
BOOL CRegionQuery::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
UpdateData(FALSE);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}