financeplandlg.h

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

H
89
字号
#pragma once //这些代码由王昌栋编写,未经允许,不得随便改动,如有问题欢迎提出!
#include "afxcmn.h"
#include "ConsumPlan.h"
#include "FinancePlanAddDlg.h"
#include "FinancePlanUpdateDlg.h"
#include "FinancePlanKindDlg.h"
#include "FinancePlanSearchDlg.h"

//打印
#include "PreParentDlg.h"
// CFinancePlanDlg 对话框

class CFinancePlanDlg : public CDialog
{
	DECLARE_DYNAMIC(CFinancePlanDlg)

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

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

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

	DECLARE_MESSAGE_MAP()
public:
	int m_iPlanAmount;
public:
	CListCtrl m_cPlanListCtrl;
	CConsumPlan m_pSet;
public:
	virtual BOOL OnInitDialog();
public:
	afx_msg void OnBnClickedFinancePlanAllBt();
public:
	afx_msg void OnBnClickedFinancePlanKindBt();
public:
	afx_msg void OnBnClickedFinancePlanAddBt();
public:
	afx_msg void OnBnClickedFinancePlanUpdateBt();
public:
	afx_msg void OnBnClickedFinancePlanDeleteBt();
public:
	afx_msg void OnBnClickedFinancePlanSearchBt();
public:
	afx_msg void OnBnClickedFinancePlanPrintBt();
	afx_msg void OnPrint();
	static void DrawInfo(CDC &memDC, PRNINFO PrnInfo);
public:
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	COLORREF m_backcolor;
	CBrush m_brush;
public:
	afx_msg void OnHdnItemclickFinancePlanList(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 OnPlanAll();
	afx_msg void OnPlanKind();
	afx_msg void OnPlanAdd();
	afx_msg void OnPlanUpdate();
	afx_msg void OnPlanDelete();
	afx_msg void OnPlanSearch();
	afx_msg void OnPlanPrint();
public:
	afx_msg void OnUpdatePlanUpdate(CCmdUI *pCmdUI);
	afx_msg void OnUpdatePlanDelete(CCmdUI *pCmdUI);
	afx_msg void OnUpdatePlanPrint(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 + -
显示快捷键?