financeoutcomedlg.h

来自「这是一个学生信息管理系统」· C头文件 代码 · 共 94 行

H
94
字号
#pragma once //这些代码由王昌栋编写,未经允许,不得随便改动,如有问题欢迎提出!
#include "afxcmn.h"
#include "FinanceOutcomeAddDlg.h"
#include "FinanceOutcomeUpdateDlg.h"
#include "FinanceOutcomeSearchDlg.h"
#include "FinanceOutcomeKindDlg.h"
#include "Outcome.h"
#include "OutcomeWizardDlg1.h"
#include "Cash.h"
//打印
#include "PreParentDlg.h"
// CFinanceOutcomeDlg 对话框

class CFinanceOutcomeDlg : public CDialog
{
	DECLARE_DYNAMIC(CFinanceOutcomeDlg)

public:
	CFinanceOutcomeDlg(CWnd* pParent = NULL);   // 标准构造函数
	virtual ~CFinanceOutcomeDlg();

// 对话框数据
	enum { IDD = IDD_FINANCE_OUTCOME_DLG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedFinanceOutcomeAllBt();
public:
	afx_msg void OnBnClickedOutcomeKindBt();
public:
	afx_msg void OnBnClickedFinanceOutcomeAddBt();
public:
	afx_msg void OnBnClickedFinanceOutcomeUpdateBt();
public:
	afx_msg void OnBnClickedFinanceOutcomeDeleteBt();
public:
	afx_msg void OnBnClickedFinanceOutcomeSearchBt();
public:
	int m_iOutcomeAmount;
public:
	CListCtrl m_cOutcomeListCtrl;
	COutcome m_pSet;
	CCash    m_pCashSet;
public:
	virtual BOOL OnInitDialog();
public:
	afx_msg void OnBnClickedFinanceOutcomePrintBt();
	//打印
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnPrint();
	static void DrawInfo(CDC &memDC, PRNINFO PrnInfo);
	HICON m_hIcon;
public:
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	COLORREF m_backcolor;
	CBrush m_brush;
public:
	afx_msg void OnHdnItemclickFinanceOutcomeList(NMHDR *pNMHDR, LRESULT *pResult);
public:
	afx_msg void OnClose();
public:
	afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
public:
	afx_msg void OnOutcomeAll();
	afx_msg void OnOutcomeKind();
	afx_msg void OnOutcomeAdd();
	afx_msg void OnOutcomeUpdate();
	afx_msg void OnOutcomeDelete();
	afx_msg void OnOutcomeSearch();
	afx_msg void OnOutcomePrint();
public:
	afx_msg void OnUpdateOutcomeUpdate(CCmdUI *pCmdUI);
	afx_msg void OnUpdateOutcomeDelete(CCmdUI *pCmdUI);
	afx_msg void OnUpdateOutcomePrint(CCmdUI *pCmdUI);
	bool m_bItemClick;
	CButton m_cUpdateBt;
	CButton m_cDeleteBt;
	CButton m_cPrintBt;
	void ViewAll();
	void Kind();
	void Add();
	void Update();
	void Delete();
	void Search();
	void Print();
public:
	afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
};

⌨️ 快捷键说明

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