📄 wageview.h
字号:
// WageView.h : interface of the CWageView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_WAGEVIEW_H__C710C3A4_16AC_42F8_98E9_A01F6F2E2617__INCLUDED_)
#define AFX_WAGEVIEW_H__C710C3A4_16AC_42F8_98E9_A01F6F2E2617__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CWageView : public CView
{
protected: // create from serialization only
CWageView();
DECLARE_DYNCREATE(CWageView)
// Attributes
public:
CWageDoc* GetDocument();
//自己添加
int m_month;
int m_workernum;
double m_basewage;
double m_extrawage;
double m_positionwage;
double m_addwage;
double m_housewage;
double m_trafficwage;
double m_shouldgive;
double m_houserent;
double m_store;
double m_meetingmoney;
double m_tax;
double m_shouldsub;
double m_actualgive;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWageView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void OnMenuitemDelete();
// void OnInitialUpdate();
POSITION m_WageListPosition;
CObList* m_pWageList;
void OnMenuitemFirstInput();
virtual ~CWageView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CWageView)
afx_msg void OnPersonInquire();
afx_msg void OnAddInformation();
afx_msg void OnDeleteInformation();
afx_msg void OnChangeInformation();
afx_msg void OnAllshow();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in WageView.cpp
inline CWageDoc* CWageView::GetDocument()
{ return (CWageDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WAGEVIEW_H__C710C3A4_16AC_42F8_98E9_A01F6F2E2617__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -