You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
348 B
C++
19 lines
348 B
C++
#include "StdAfx.h"
|
|
#include "CreaterMsg.h"
|
|
#include "WorkCmdMsg.h"
|
|
|
|
CCreaterMsg::CCreaterMsg(const CString &str)
|
|
:CCreaterWorkCmd(str)
|
|
{
|
|
}
|
|
CCreaterMsg::~CCreaterMsg(void)
|
|
{
|
|
}
|
|
void CCreaterMsg::Creat()
|
|
{
|
|
//参数1 表示提示内容
|
|
CString msg = GetPar(1);
|
|
CWorkCmd *pCmd = NULL;
|
|
pCmd = new CWorkCmdMsg(msg);
|
|
AddCmd(pCmd);
|
|
} |