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

📄 computview.h

📁 一个简单的个人所得税计算器,可以编辑税率表和所在地列表.
💻 H
字号:
#if !defined(AFX_COMPUTVIEW_H__2F75BF93_62F1_47EF_B72B_5B9AF22344B5__INCLUDED_)
#define AFX_COMPUTVIEW_H__2F75BF93_62F1_47EF_B72B_5B9AF22344B5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ComputView.h : header file
//
#include "MyEdit.h"
#define WM_UPDATE_AREA (WM_USER+200)
/////////////////////////////////////////////////////////////////////////////
// CComputView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CComputView : public CFormView
{
protected:
	//CComputView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CComputView)
public:
	CComputView(); 
	virtual ~CComputView();
// Form Data
public:
	//{{AFX_DATA(CComputView)
	enum { IDD = IDD_FORMVIEW_COMPUT };
	CMyEdit	m_wndTatol;
	CString	m_strArea;
	double	m_dStart;
	double	m_dTotal;
	double	m_dTax;
	double	m_dDeduct;
	double	m_dAll;
	double	m_dGet;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	BOOL Examine(double d,int n);
	void UpdateDisplay();
	void Comput();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CComputView)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CComputView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnChangeEditAll();
	afx_msg void OnChangeEditDeduct();
	//}}AFX_MSG
	afx_msg void OnUpdateArea(WPARAM wParam,LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_COMPUTVIEW_H__2F75BF93_62F1_47EF_B72B_5B9AF22344B5__INCLUDED_)

⌨️ 快捷键说明

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