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

📄 item.h

📁 一个简单的记账软件
💻 H
字号:
#if !defined(AFX_ITEM_H__323582CF_FBF0_48AB_8A3E_90C3DDFA3AE1__INCLUDED_)
#define AFX_ITEM_H__323582CF_FBF0_48AB_8A3E_90C3DDFA3AE1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Item.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CItem command target

class CItem : public CObject
{
	//DECLARE_DYNCREATE(CItem)
public://private:
	CItem();           // protected constructor used by dynamic creation
public:
	CItem (CItem& c);
	CItem(CString &n,unsigned int d,double c,CString &r,int t=9);
// Attributes
public:
	unsigned int m_uiDay;
	double	m_dCost;
	int	m_tType;
	CString m_sRemark;
	CString m_sName;

DECLARE_SERIAL(CItem)
public:
	virtual void Serialize(CArchive &ar);
	CItem & operator = (CItem & c){
		m_uiDay = c.m_uiDay;
		m_dCost = c.m_dCost;
		m_tType = c.m_tType;
		m_sName = c.m_sName;
		m_sRemark = c.m_sRemark;
		return *this;
	}

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CItem)
	//}}AFX_VIRTUAL

// Implementation

	virtual ~CItem();

	// Generated message map functions
	//{{AFX_MSG(CItem)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

	//DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ITEM_H__323582CF_FBF0_48AB_8A3E_90C3DDFA3AE1__INCLUDED_)

⌨️ 快捷键说明

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