CorpSms/DLG_Find_TDSet.cpp
2025-02-27 16:58:16 +08:00

52 lines
1.0 KiB
C++

// DLG_Find_TDSet.cpp : implementation file
//
#include "stdafx.h"
#include "corpsms.h"
#include "DLG_Find_TDSet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// DLG_Find_TDSet dialog
DLG_Find_TDSet::DLG_Find_TDSet(CWnd* pParent /*=NULL*/)
: CDialog(DLG_Find_TDSet::IDD, pParent)
{
//{{AFX_DATA_INIT(DLG_Find_TDSet)
m_strMobile = _T("");
//}}AFX_DATA_INIT
}
void DLG_Find_TDSet::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(DLG_Find_TDSet)
DDX_Text(pDX, IDC_FIND_TDSET_MOBILE, m_strMobile);
DDV_MaxChars(pDX, m_strMobile, 11);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(DLG_Find_TDSet, CDialog)
//{{AFX_MSG_MAP(DLG_Find_TDSet)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// DLG_Find_TDSet message handlers
void DLG_Find_TDSet::OnOK()
{
if (!UpdateData(true) )
return ;
CDialog::OnOK();
}