element.cpp
来自「beereader source code」· C++ 代码 · 共 43 行
CPP
43 行
// Element.cpp: implementation of the CElement class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "MyRss.h"
#include "Element.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CElement::CElement()
{
m_szName = _T("");
}
CElement::CElement( CString szName )
{
m_szName = szName;
}
CElement::~CElement()
{
}
//获得元素名称。
CString CElement::GetName()
{
return m_szName;
}
//设置元素名称。
void CElement::SetName( CString szName )
{
m_szName = szName;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?