📄 financeinvestdlg.h
字号:
#pragma once //这些代码由王昌栋编写,未经允许,不得随便改动,如有问题欢迎提出!
#include "FinanceInvestAddDlg.h"
#include "FinanceInvestUpdateDlg.h"
#include "FinanceInvestSearchDlg.h"
#include "FinanceInvestKindDlg.h"
#include "Invest.h"
#include "afxcmn.h"
#include "Cash.h"
//打印
#include "PreParentDlg.h"
// CFinanceInvestDlg 对话框
class CFinanceInvestDlg : public CDialog
{
DECLARE_DYNAMIC(CFinanceInvestDlg)
public:
CFinanceInvestDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CFinanceInvestDlg();
// 对话框数据
enum { IDD = IDD_FINANCE_INVEST_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedFinanceInvestAllBt();
public:
afx_msg void OnBnClickedInvestKindBt();
public:
int m_iInvestAmount;
CInvest m_pSet;
CCash m_pCashSet;
public:
afx_msg void OnBnClickedFinanceInvestAddBt();
public:
afx_msg void OnBnClickedFinanceInvestUpdateBt();
public:
afx_msg void OnBnClickedFinanceInvestDeleteBt();
public:
afx_msg void OnBnClickedFinanceInvestSearchBt();
public:
CListCtrl m_cInvestListCtrl;
public:
virtual BOOL OnInitDialog();
public:
afx_msg void OnBnClickedFinanceInvestPrintBt();
//打印
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 OnHdnItemclickFinanceInvestList(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 OnInvestAll();
afx_msg void OnInvestKind();
afx_msg void OnInvestAdd();
afx_msg void OnInvestUpdate();
afx_msg void OnInvestDelete();
afx_msg void OnInvestSearch();
afx_msg void OnInvestPrint();
public:
afx_msg void OnUpdateInvestUpdate(CCmdUI *pCmdUI);
afx_msg void OnUpdateInvestDelete(CCmdUI *pCmdUI);
afx_msg void OnUpdateInvestPrint(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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -