📄 maindlg.h
字号:
#pragma once
#include "afxcmn.h"
// CMainDlg 对话框
class CMainDlg : public CDialog
{
DECLARE_DYNAMIC(CMainDlg)
public:
CMainDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CMainDlg();
CDatabase m_database;
void RefreshData();
HICON m_hIcon;
CBrush m_Brush;
// 对话框数据
enum { IDD = IDD_MAIN_DIALOG};
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnClose();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
CListCtrl m_List;
CString m_query;
double m_Low;
double m_Price;
double m_NglCost;
int m_ComNum;
float m_Cheap;
double m_AllFee;
// virtual BOOL OnInitDialog();
afx_msg void OnUp();
virtual BOOL OnInitDialog();
afx_msg void OnDown();
afx_msg void OnExchge();
afx_msg void OnClear();
afx_msg void OnAppExit();
afx_msg void OnSort();
afx_msg void OnCount();
afx_msg void OnFee();
afx_msg void OnComnum();
afx_msg void OnAbout();
afx_msg void OnChange();
afx_msg void OnMemberDialog();
afx_msg void OnAllFee();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -