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

📄 accountmanagement.h

📁 实时系统的实习作业
💻 H
字号:
#if !defined(AFX_ACCOUNTMANAGEMENT_H__3ED76077_592A_49B6_9379_5FEC2B5FB6CD__INCLUDED_)
#define AFX_ACCOUNTMANAGEMENT_H__3ED76077_592A_49B6_9379_5FEC2B5FB6CD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AccountManagement.h : header file
//
#include<afxtempl.h>              //模板类头文件
#include"Financing_Master_HandDoc.h"	

class CAccount {
public:
	CString m_sAccount;         //帐号
	CString m_sName;            //户主姓名
	float   m_fRemainMoney;     //余额
	CString m_sDate;            //开户日期
	CString m_sRemark;          //备注
};
class CAccounts {
public:
	CAccount m_account;
	int m_nNum;
};
/////////////////////////////////////////////////////////////////////////////
// CAccountManagement view

class CAccountManagement : public CListView
{
protected:
	DECLARE_DYNCREATE(CAccountManagement)

// Attributes
public:
	CAccountManagement();           // protected constructor used by dynamic creation
	CArray< CAccounts,CAccounts& >m_accounts;
	int m_nAccountNum;              //帐号数量
	int m_bAccountFlag[6];          //每种管理操作有多少帐号
// Operations
public:
	int GetAccountType(CString strType);
	int m_nCurrentItem;
	void SerializeInfo();
	CFinancing_Master_HandDoc* CAccountManagement::GetDocument();
	void addItem(int i,CAccounts&);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAccountManagement)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CAccountManagement();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CAccountManagement)
	afx_msg void OnAddAccount();
	afx_msg void OnDeleteAccount();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG  // debug version in Financing_Master_HandView.cpp
inline CFinancing_Master_HandDoc* CAccountManagement::GetDocument()
   { return (CFinancing_Master_HandDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_ACCOUNTMANAGEMENT_H__3ED76077_592A_49B6_9379_5FEC2B5FB6CD__INCLUDED_)

⌨️ 快捷键说明

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