test2

CAddNodeDlg::CAddNodeDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CAddNodeDlg::IDD, pParent)
{
    //{{AFX_DATA_INIT(CAddNodeDlg)
    m_strNodeId = _T("40");
    m_dwGuardTime = 1000;
    m_dwRetryFactor = 3;
    //}}AFX_DATA_INIT
}


void CAddNodeDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
    //{{AFX_DATA_MAP(CAddNodeDlg)
    DDX_Text(pDX, IDC_EDIT_NODEID, m_strNodeId);
    DDX_Control(pDX, IDC_COMBO_GUARD_MODE, m_ComboGuardMode);
    DDX_Text(pDX, IDC_EDIT_GUARD_TIME, m_dwGuardTime);
    DDV_MinMaxUInt(pDX, m_dwGuardTime, 100, 65535);
    DDX_Text(pDX, IDC_EDIT_RETRY_FACTOR, m_dwRetryFactor);
    DDV_MinMaxUInt(pDX, m_dwRetryFactor, 0, 3);
    //}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAddNodeDlg, CDialog)
	//{{AFX_MSG_MAP(CAddNodeDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()
posted @ 2014-08-08 17:38  tt-player  阅读(116)  评论(0编辑  收藏  举报