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

84 lines
2.7 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// DLG_FindSR_Send.cpp : implementation file
//
#include "stdafx.h"
#include "corpsms.h"
#include "DLG_FindSR_Send.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// DLG_FindSR_Send dialog
DLG_FindSR_Send::DLG_FindSR_Send(CWnd* pParent /*=NULL*/,long lType)
: CDialog(DLG_FindSR_Send::IDD, pParent)
{
//{{AFX_DATA_INIT(DLG_FindSR_Send)
m_strMemo = _T("");
//}}AFX_DATA_INIT
m_lType = lType;
}
void DLG_FindSR_Send::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(DLG_FindSR_Send)
DDX_Control(pDX, IDC_FINDSR_S1, m_S_S1);
DDX_Text(pDX, IDC_MEMO, m_strMemo);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(DLG_FindSR_Send, CDialog)
//{{AFX_MSG_MAP(DLG_FindSR_Send)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// DLG_FindSR_Send message handlers
BOOL DLG_FindSR_Send::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
switch( m_lType )
{
case 0 :
#ifdef MOBSET_OEM
m_strMemo = _T("请在稍后出现的发送列表中输入祝福语完成后按“发送”即可。生日祝福短信默认发送的时间为上午1000短信平台会在有客户生日当天自动发送祝福短信短信发送时间可以修改。");
#else
m_strMemo = _T("请在稍后出现的发送列表中输入祝福语完成后按“发送”即可。生日祝福短信默认发送的时间为上午1000首易短信平台会在有客户生日当天自动发送祝福短信短信发送时间可以修改。");
#endif
break;
case 1:
#ifdef MOBSET_OEM
m_strMemo = _T("请在稍后出现的发送列表中输入年审提醒语完成后按“发送”即可。年审提醒语默认发送的时间为每月1日上午1000短信平台会在当天自动发送提醒短信短信发送时间可以修改。");
#else
m_strMemo = _T("请在稍后出现的发送列表中输入年审提醒语完成后按“发送”即可。年审提醒语默认发送的时间为每月1日上午1000首易短信平台会在当天自动发送提醒短信短信发送时间可以修改。");
#endif
m_S_S1.SetWindowText( _T("将要向列表中的用户发送年审提醒") );
SetWindowText(_T("发送年审提醒"));
break;
case 2:
#ifdef MOBSET_OEM
m_strMemo = _T("请在稍后出现的发送列表中输入保险到期提醒语完成后按“发送”即可。保险到期提醒语默认发送的时间为提醒日上午1000短信平台会在当天自动发送提醒短信短信发送时间可以修改。");
#else
m_strMemo = _T("请在稍后出现的发送列表中输入保险到期提醒语完成后按“发送”即可。保险到期提醒语默认发送的时间为提醒日上午1000首易短信平台会在当天自动发送提醒短信短信发送时间可以修改。");
#endif
m_S_S1.SetWindowText( _T("将要向列表中的用户发送年审提醒") );
SetWindowText(_T("发送保险到期提醒"));
break;
}
UpdateData(false);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}