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

📄 graphlegendset.cpp

📁 利用VC++开发的OCX控件
💻 CPP
字号:
// GraphLegendSet.cpp : implementation file
//

#include "stdafx.h"
#include "GraphLegendSet.h"

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

/////////////////////////////////////////////////////////////////////////////
// CGraphLegendSet

CGraphLegendSet::CGraphLegendSet()
{
	legendId = 0;
	legendLabel = "";
}

CGraphLegendSet::~CGraphLegendSet()
{
}


BEGIN_MESSAGE_MAP(CGraphLegendSet, CStatic)
	//{{AFX_MSG_MAP(CGraphLegendSet)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CGraphLegendSet message handlers

void CGraphLegendSet::SetLegendLabel(int id, CString legendText)
{
	legendId = id;
	legendLabel = legendText;
}

CString CGraphLegendSet::GetLegendLabel()
{
	return legendLabel;
}

⌨️ 快捷键说明

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