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

📄 syntax.cpp

📁 PLC程序集成开发平台
💻 CPP
字号:
// Syntax.cpp : implementation file
//

#include "stdafx.h"
#include "MUL.h"
#include "Syntax.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSyntax dialog


CSyntax::CSyntax(CString str,CWnd* pParent /*=NULL*/)
	: CDialog(CSyntax::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSyntax)
	m_strList = _T("");
	//}}AFX_DATA_INIT
	if (!this->Create(CSyntax::IDD,pParent))
		AfxMessageBox("不能建立编译对话框!");
	m_strList=str;
}


void CSyntax::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSyntax)
	DDX_Text(pDX, IDC_COMPILE, m_strList);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CSyntax message handlers

void CSyntax::Refresh(CString str)
{
	m_strList=str;
}

⌨️ 快捷键说明

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