// DLG_CompDB.cpp : implementation file // #include "stdafx.h" #include "corpsms.h" #include "DLG_CompDB.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // DLG_CompDB dialog DLG_CompDB::DLG_CompDB(CWnd* pParent /*=NULL*/) : CDialog(DLG_CompDB::IDD, pParent) { //{{AFX_DATA_INIT(DLG_CompDB) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void DLG_CompDB::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(DLG_CompDB) DDX_Control(pDX, IDC_COMPDB_S1, m_E_S1); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(DLG_CompDB, CDialog) //{{AFX_MSG_MAP(DLG_CompDB) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // DLG_CompDB message handlers BOOL DLG_CompDB::OnInitDialog() { CDialog::OnInitDialog(); CString str; str = "注意:执行数据维护将会删除所有的发送日志!\r\n" \ " 执行数据维护需要重新启动本软件!\r\n\r\n" \ "说明:进行数据维护可以加快程序运行的速度\r\n" \ " 与减少数据库占用的硬盘空间!\r\n\r\n" \ "建议:执行数据维护前将没用的已发短信、接\r\n" \ " 收短信等记录删除。\r\n" \ " 执行数据维护前最好先备份原有数据。"; m_E_S1.SetWindowText( str ); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }