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

📄 winfeeview.h

📁 以前给一个印刷厂开发的业务管理软件
💻 H
字号:
#if !defined(AFX_WINFEEVIEW_H__C674A921_94D8_11D7_8BEB_001060768F78__INCLUDED_)
#define AFX_WINFEEVIEW_H__C674A921_94D8_11D7_8BEB_001060768F78__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WinFeeView.h : header file
//
#include "PressManagerDoc.h"
#include "ReturnEdit.h"

/////////////////////////////////////////////////////////////////////////////
// CWinFeeView form view

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

class CWinFeeView : public CFormView
{
public:
	CWinFeeView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CWinFeeView)

// Form Data
public:
	//{{AFX_DATA(CWinFeeView)
	enum { IDD = IDD_WIN_FEE_FORM };
	CListCtrl	m_List;
	CButton	m_ctrlPrint;
	CReturnEdit	m_EditSerial;
	CReturnEdit	m_ctrlEditInFactFee;
	CString	m_strLastMoney;
	CString	m_strShouldFee;
	CString	m_strInfactFee;
	CString	m_strAllMoney;
	CString	m_strClientAddress;
	CString	m_strClientName;
	CString	m_strLeftFee;
	CString	m_strSerial;
	CString	m_strRemark;
	//}}AFX_DATA

// Attributes
public:
	CProduceClientSet* m_pProduceClientSet;
	CProductWareSet* m_pProductWareSet;
	CWarePurposeSet* m_pWarePurposeSet;
	CWareTypeSet* m_pWareTypeSet;
	CWareModeSet* m_pWareModeSet;
	CMoneySumSet* m_pMoneySumSet;
	CFeeSet* m_pFeeSet;
	COperatorSet* m_pOperatorSet;
	CString m_strOperatorId;

	CPressManagerDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWinFeeView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CWinFeeView)
	afx_msg void OnButtonWindowFee();
	afx_msg void OnButtonChargeReport();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnKillfocusEditSerial();
	afx_msg void OnButtonFinishFee();
	afx_msg void OnButtonFeeList();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CTime m_PrintTime;
	int pages;
	void SetProductWareInfo();
	void SetProduceClientInfo();
	void OnFeeCalculate();
	CString m_strAccountId; //选择的用户
	bool m_bAlreadyFee;
	CBrush m_redbrush,m_bluebrush,m_staticbrush;
	COLORREF m_redcolor,m_bluecolor,m_staticcolor,m_textcolor;

};

#ifndef _DEBUG  // debug version in EWBillSysView.cpp
inline CPressManagerDoc* CWinFeeView::GetDocument()
   { return (CPressManagerDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_USERFEEVIEW_H__C674A921_94D8_11D7_8BEB_001060768F78__INCLUDED_)

⌨️ 快捷键说明

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