⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 function.cpp

📁 dsacd_ivr 的实现
💻 CPP
字号:
// Function.cpp : implementation file
//

#include "stdafx.h"
#include "dsACD_IVR.h"
#include "Function.h"

#include "dsACD_IVRDoc.h"
#include "dsACD_IVRView.h"

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

/////////////////////////////////////////////////////////////////////////////
// CFunction dialog


CFunction::CFunction(CWnd* pParent /*=NULL*/)
	: CDialog(CFunction::IDD, pParent)
{
	//{{AFX_DATA_INIT(CFunction)
	m_csComment = _T("");
	//}}AFX_DATA_INIT
}


void CFunction::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFunction)
	DDX_Text(pDX, IDC_FUN_COMMENT, m_csComment);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CFunction, CDialog)
	//{{AFX_MSG_MAP(CFunction)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFunction message handlers
void CFunction::DisplayDlg(dsACDObjectBase *pObj)
{
	dsFun_INFO * pFunInfo = (dsFun_INFO*) pObj->Read();
	m_csComment = pFunInfo->Comment;

	if(DoModal()==IDOK)
	{
		pFunInfo->Comment = m_csComment;
	}
	else 
		return;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -