📄 salemanagerview.h
字号:
// SaleManagerView.h : CSaleManagerView 类的接口
//
#pragma once
class CSaleManagerView : public CView
{
protected: // 仅从序列化创建
CSaleManagerView();
DECLARE_DYNCREATE(CSaleManagerView)
// 属性
public:
CSaleManagerDoc* GetDocument() const;
// 操作
public:
// 重写
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
// 实现
public:
virtual ~CSaleManagerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
BOOL m_Login;
CString m_RealName;
CString m_AccountName;
CString m_ActionName;
CString m_PowerName;
int m_AccountNum;
CString m_AllManagerNum;
_ConnectionPtr m_pConnection;
BOOL flag;
// 生成的消息映射函数
protected:
afx_msg void OnExit();
afx_msg void OnLogout();
afx_msg void OnUseSet();
afx_msg void OnUseChangePass();
afx_msg void OnOperateNote();
afx_msg void OnPowerSet();
afx_msg void OnGoodsSet();
afx_msg void OnGoodsManager();
afx_msg void OnMerchandiseManager();
afx_msg void OnBuinessQuery();
afx_msg void OnStatistics();
afx_msg void OnUpdateUseSet(CCmdUI *cmdUI);
afx_msg void OnUpdatePowerSet(CCmdUI *cmdUI);
afx_msg void OnUpdateGoodsSet(CCmdUI *cmdUI);
afx_msg void OnUpdateGoodsManager(CCmdUI *cmdUI);
afx_msg void OnUpdateMerchandiseManager(CCmdUI *cmdUI);
afx_msg void OnUpdateBuinessQuery(CCmdUI *cmdUI);
afx_msg void OnUpdateStatistics(CCmdUI *cmdUI);
void OperateNote();
void ManagerModule();
DECLARE_MESSAGE_MAP()
public:
void Login();
};
#ifndef _DEBUG // SaleManagerView.cpp 的调试版本
inline CSaleManagerDoc* CSaleManagerView::GetDocument() const
{ return reinterpret_cast<CSaleManagerDoc*>(m_pDocument); }
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -