// DLG_SmsDSSee.cpp : implementation file
//

#include "stdafx.h"
#include "corpsms.h"
#include "DLG_SmsDSSee.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// DLG_SmsDSSee dialog


DLG_SmsDSSee::DLG_SmsDSSee(CWnd* pParent /*=NULL*/)
	: CDialog(DLG_SmsDSSee::IDD, pParent)
{
	//{{AFX_DATA_INIT(DLG_SmsDSSee)
	m_strMsg = _T("");
	m_strRecver = _T("");
	m_strSubTime = _T("");
	m_strTimer = _T("");
	//}}AFX_DATA_INIT

	m_lType = 0;
}


void DLG_SmsDSSee::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(DLG_SmsDSSee)
	DDX_Text(pDX, IDC_SMSDSSEE_MSG, m_strMsg);
	DDX_Text(pDX, IDC_SMSDSSEE_RECVER, m_strRecver);
	DDX_Text(pDX, IDC_SMSDSSEE_SUBTIME, m_strSubTime);
	DDX_Text(pDX, IDC_SMSDSSEE_TIMER, m_strTimer);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(DLG_SmsDSSee, CDialog)
	//{{AFX_MSG_MAP(DLG_SmsDSSee)
	//}}AFX_MSG_MAP
	ON_BN_CLICKED(IDOK, &DLG_SmsDSSee::OnBnClickedOk)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// DLG_SmsDSSee message handlers

BOOL DLG_SmsDSSee::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	if ( m_lType ==1 ) //����
	{
		this->SetWindowText(_T("��ʱ�������ϲ鿴"));
		GetDlgItem(IDD_SMSDSSEE_S1)->SetWindowText(_T("���ű���"));
	}
	UpdateData(false);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}


void DLG_SmsDSSee::OnBnClickedOk()
{
	// TODO: �ڴ����ӿؼ�֪ͨ�����������
	CDialog::OnOK();
}