www.pudn.com > SimSimens.rar > TransmitPDlg.cpp


// TransmitPDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "SimSimens.h" 
#include "TransmitPDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CTransmitPDlg dialog 
 
 
CTransmitPDlg::CTransmitPDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CTransmitPDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CTransmitPDlg) 
	m_strLineNo = _T(""); 
	m_strPost = _T(""); 
	m_strTrainNo = _T(""); 
	//}}AFX_DATA_INIT 
} 
 
 
void CTransmitPDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CTransmitPDlg) 
	DDX_Text(pDX, IDC_LineNo, m_strLineNo); 
	DDV_MaxChars(pDX, m_strLineNo, 1); 
	DDX_Text(pDX, IDC_Post, m_strPost); 
	DDV_MaxChars(pDX, m_strPost, 3); 
	DDX_Text(pDX, IDC_TrainNo, m_strTrainNo); 
	DDV_MaxChars(pDX, m_strTrainNo, 4); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CTransmitPDlg, CDialog) 
	//{{AFX_MSG_MAP(CTransmitPDlg) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CTransmitPDlg message handlers