📄 financing_master_handview.h
字号:
// Financing_Master_HandView.h : interface of the CFinancing_Master_HandView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_FINANCING_MASTER_HANDVIEW_H__55F73F68_3FC3_43F6_86EB_A10E00D5FB4B__INCLUDED_)
#define AFX_FINANCING_MASTER_HANDVIEW_H__55F73F68_3FC3_43F6_86EB_A10E00D5FB4B__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "Financing_Master_HandDoc.h" //要包含此头文件
#include<afxtempl.h> //模板类头文件
class CFinancing_Master_HandView : public CListView
{
protected: // create from serialization only
CFinancing_Master_HandView();
DECLARE_DYNCREATE(CFinancing_Master_HandView)
// Attributes
public:
CFinancing_Master_HandDoc* GetDocument();
int m_nNum; //记录的数量
float m_fAllMoney; //所有余额
// int m_nRecordNum; //记录号
CString m_sAccount; //该记录的相关帐号
CString m_sDate; //记录的日期
// float m_fincome; //收入
// float m_foutcome; //支出
BOOL m_bFlag; //0(收入),1(支出)
float m_fMoney; //单项记录的钱数
float m_fRemainMoney; //余额
CString m_sRemark; //备注
CStringArray m_accountArray; //所有相关的帐号
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFinancing_Master_HandView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
int m_nCurrentItem;
void SerializeInfo();
virtual ~CFinancing_Master_HandView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CFinancing_Master_HandView)
afx_msg void OnAddCashRecord();
afx_msg void OnDeleteCashRecord();
afx_msg void OnCashModify();
afx_msg void OnCashDelete();
afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnCashAdd();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Financing_Master_HandView.cpp
inline CFinancing_Master_HandDoc* CFinancing_Master_HandView::GetDocument()
{ return (CFinancing_Master_HandDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FINANCING_MASTER_HANDVIEW_H__55F73F68_3FC3_43F6_86EB_A10E00D5FB4B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -