📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__B202275D_4FD3_4745_A8A3_00F05B2452B2__INCLUDED_)
#define AFX_MAINFRM_H__B202275D_4FD3_4745_A8A3_00F05B2452B2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTradeDlg;
class CSupermarketCahsierView;
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
CSupermarketCahsierView * m_ListView;
// Operations
public:
friend class CTradeDlg;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
BOOL m_bCashinfoSave;
double m_dCashMoney;
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnCashierLogoff();
afx_msg void OnCashierEdit();
afx_msg void OnCashierDelete();
afx_msg void OnCashierAdd();
afx_msg void OnCashierQuery();
afx_msg void OnCustomerAdd();
afx_msg void OnCustomerDelete();
afx_msg void OnCustomerEdit(CString strCusNum = _T(""),
CString strConsumption = _T(""));
afx_msg void OnCustomerEdit();
afx_msg void OnCustomerQuery();
afx_msg void OnCashinfoAdd(CString strMoney = _T(""));
afx_msg void OnCashinfoAdd();
afx_msg void OnCashinfoQuery();
afx_msg void OnGoodsAdd();
afx_msg void OnGoodsDelete();
afx_msg void OnGoodsEdit(CString strGoodsNum = _T(""),
CString strStorage = _T(""));
afx_msg void OnGoodsEdit();
afx_msg void OnGoodsQuery();
afx_msg void OnTradeinfoAdd(CString strCusNum = _T(""),CString strGoodsNum = _T(""),
CString strQuan = _T(""));
afx_msg void OnTradeinfoAdd();
afx_msg void OnTradeinfoQuery();
afx_msg void OnHelp();
afx_msg void OnAbout();
afx_msg void OnAppExit();
afx_msg void OnTrade();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__B202275D_4FD3_4745_A8A3_00F05B2452B2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -