📄 saleoperview.h
字号:
#if !defined(AFX_SALEOPERVIEW_H__7E8CF5EA_2153_4F7F_8A66_DD98ACA2B384__INCLUDED_)
#define AFX_SALEOPERVIEW_H__7E8CF5EA_2153_4F7F_8A66_DD98ACA2B384__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SaleOperView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSaleOperView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CSaleOperView : public CFormView
{
protected:
CSaleOperView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CSaleOperView)
// Form Data
public:
//{{AFX_DATA(CSaleOperView)
enum { IDD = IDD_SALEOPER };
CListCtrl m_ctlList2;
CListCtrl m_ctlList1;
CString m_strCustomer;
CString m_strMedName;
CString m_strQuantity;
CString m_strPrice;
CString m_strTotal;
CString m_strPerson;
//}}AFX_DATA
// Attributes
public:
static const int m_nFieldCount1; // 字段个数1
static const CString m_strFields1[]; // 字段名数组1
static const int m_nFieldCount2; // 字段个数2
static const CString m_strFields2[]; // 字段名数组2
// Operations
public:
void GetTotalMoney();
void AddListHeader();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSaleOperView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
int m_nCurQuantity;
int m_nOldQuantity;
int m_nItem;
CStringList m_ListInPrice; // 进价不显示出来,保存在链表中
CString m_strUserInput;
_RecordsetPtr m_pRecordset;
virtual ~CSaleOperView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CSaleOperView)
afx_msg void OnDestroy();
afx_msg void OnQuery();
afx_msg void OnSale();
afx_msg void OnUndo();
afx_msg void OnPrintdata();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SALEOPERVIEW_H__7E8CF5EA_2153_4F7F_8A66_DD98ACA2B384__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -