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

📄 timeinfo.cpp

📁 非比寻常的超级记事本 1.日历控件的使用 2.托盘技术 3.开机后应用程序自动启动 4.非模态对话框的创建和关闭 5.Singleton类的使用 6.文件的读写 7.弹出式菜单的创建
💻 CPP
字号:
// TimeInfo.cpp: implementation of the CTimeInfo class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "TimeInfo.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

IMPLEMENT_SERIAL( CTimeInfo, CObject, 0 )

CTimeInfo::CTimeInfo()
{

}

CTimeInfo::CTimeInfo( CString strTime, CString strTipType, CString strInfo )
{
	m_strTime    = strTime;
	m_strTipType = strTipType;
	m_strInfo    = strInfo;	
}

CTimeInfo::~CTimeInfo()
{

}

void CTimeInfo::Serialize( CArchive& ar )
{
	CObject::Serialize( ar );

	if ( ar.IsStoring() )
	{
		ar << m_strTime << m_strTipType << m_strInfo;
	}
	else
	{
		ar >> m_strTime >> m_strTipType >> m_strInfo;
	}
}


⌨️ 快捷键说明

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