📄 financetransferdlg.h
字号:
#pragma once //这些代码由王昌栋编写,未经允许,不得随便改动,如有问题欢迎提出!
#include "afxcmn.h"
#include "Transfer.h"
#include "FinanceTransferKindDlg.h"
#include "FinanceTransferSearchDlg.h"
//打印
#include "PreParentDlg.h"
// CFinanceTransferDlg 对话框
class CFinanceTransferDlg : public CDialog
{
DECLARE_DYNAMIC(CFinanceTransferDlg)
public:
CFinanceTransferDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CFinanceTransferDlg();
// 对话框数据
enum { IDD = IDD_FINANCE_TRANSFER_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedFinanceTransferAllBt();
public:
CListCtrl m_cTransferListCtrl;
CTransfer m_pSet;
public:
int m_iTransferAmount;
public:
afx_msg void OnBnClickedTransferKindBt();
public:
afx_msg void OnBnClickedFinanceTransferDeleteBt();
public:
afx_msg void OnBnClickedFinanceTransferSearchBt();
public:
virtual BOOL OnInitDialog();
public:
afx_msg void OnBnClickedFinanceTransferPrintBt();
//打印
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 OnHdnItemclickFinanceTransferList(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 OnTransferAll();
afx_msg void OnTransferKind();
afx_msg void OnTransferDelete();
afx_msg void OnTransferSearch();
afx_msg void OnTransferPrint();
public:
afx_msg void OnUpdateTransferDelete(CCmdUI *pCmdUI);
afx_msg void OnUpdateTransferPrint (CCmdUI *pCmdUI);
bool m_bItemClick;
CButton m_cDeleteBt;
CButton m_cPrintBt;
void ViewAll();
void Kind();
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 + -