44 lines
772 B
C++
44 lines
772 B
C++
#include "stdafx.h"
|
|
#include "shs_outdoor.h"
|
|
#include "LayDepthSetDlg.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
CLayDepthSetDlg::CLayDepthSetDlg(CWnd* pParent /*=NULL*/)
|
|
: CDialog(CLayDepthSetDlg::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(CLayDepthSetDlg)
|
|
m_nSel = 1;
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
|
|
void CLayDepthSetDlg::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(CLayDepthSetDlg)
|
|
DDX_Radio(pDX, IDC_RADIO_ALL, m_nSel);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CLayDepthSetDlg, CDialog)
|
|
//{{AFX_MSG_MAP(CLayDepthSetDlg)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
int CLayDepthSetDlg::GetSel()
|
|
{
|
|
return m_nSel;
|
|
}
|
|
|
|
void CLayDepthSetDlg::OnOK()
|
|
{
|
|
UpdateData(TRUE);
|
|
CDialog::OnOK();
|
|
}
|