📄 buyoperview.h
字号:
#if !defined(AFX_BUYOPERVIEW_H__CE2C800D_6FBB_4D12_A722_CFF7F128EF69__INCLUDED_)
#define AFX_BUYOPERVIEW_H__CE2C800D_6FBB_4D12_A722_CFF7F128EF69__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BuyOperView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBuyOperView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CBuyOperView : public CFormView
{
protected:
CBuyOperView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CBuyOperView)
// Form Data
public:
//{{AFX_DATA(CBuyOperView)
enum { IDD = IDD_BUYOPER };
CListCtrl m_ctlList2;
CListCtrl m_ctlList1;
CString m_strMedName;
CString m_strMemo;
CString m_strLocation;
CString m_strInPrice;
CString m_strOutPrice;
CString m_strSpecification;
CString m_strType;
CString m_strUnit;
CString m_strNewQuantity;
CString m_strWhere;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
void GetTotalMoney();
void Reset();
BOOL CheckUserInput();
void AddListHeader();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBuyOperView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
_RecordsetPtr m_pRecordset;
int m_nItem;
CString m_strUserInput;
static const int m_nFieldCount; // 字段个数
static const CString m_strFields[]; // 注意这里
virtual ~CBuyOperView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CBuyOperView)
afx_msg void OnDestroy();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnModify();
afx_msg void OnAppend();
afx_msg void OnQuery();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUYOPERVIEW_H__CE2C800D_6FBB_4D12_A722_CFF7F128EF69__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -