void CJmmPDlg::OnPauseORContinus() 
{
// TODO: Add your control notification handler code here
if(MemoryQueue.QueueEmpty())
return;
CString PorC;
GetDlgItem(IDC_PauseORContinus)->GetWindowText(PorC);
if(PorC=="暂停")
{
KillTimer(1);
    GetDlgItem(IDC_PauseORContinus)->SetWindowText("继续");
}
else

SetTimer(1,m_timeslice*1000,NULL);
    GetDlgItem(IDC_PauseORContinus)->SetWindowText("暂停");
}
}