// DLG_C_AgentCJ_Pay.cpp : implementation file // #include "stdafx.h" #include "smsmanager.h" #include "DLG_C_AgentCJ_Pay.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // DLG_C_AgentCJ_Pay dialog DLG_C_AgentCJ_Pay::DLG_C_AgentCJ_Pay(CWnd* pParent /*=NULL*/) : CDialog(DLG_C_AgentCJ_Pay::IDD, pParent) { //{{AFX_DATA_INIT(DLG_C_AgentCJ_Pay) m_strBZ = _T(""); m_tTime = COleDateTime::GetCurrentTime(); //}}AFX_DATA_INIT } void DLG_C_AgentCJ_Pay::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(DLG_C_AgentCJ_Pay) DDX_Text(pDX, IDD_C_AGENTCJ_PAY_BZ, m_strBZ); DDV_MaxChars(pDX, m_strBZ, 120); DDX_DateTimeCtrl(pDX, IDD_C_AGENTCJ_PAY_TIME, m_tTime); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(DLG_C_AgentCJ_Pay, CDialog) //{{AFX_MSG_MAP(DLG_C_AgentCJ_Pay) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // DLG_C_AgentCJ_Pay message handlers void DLG_C_AgentCJ_Pay::OnOK() { if(!UpdateData(true) ) return ; CDialog::OnOK(); }