📄 buystatview.h
字号:
#if !defined(AFX_BUYSTATVIEW_H__237F9803_1541_4D94_81D7_4D9941714306__INCLUDED_)
#define AFX_BUYSTATVIEW_H__237F9803_1541_4D94_81D7_4D9941714306__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BuyStatView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBuyStatView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
class CBuyStatView : public CFormView
{
protected:
CBuyStatView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CBuyStatView)
// Form Data
public:
//{{AFX_DATA(CBuyStatView)
enum { IDD = IDD_BUYSTAT };
CListCtrl m_ctlList;
UINT m_nDay;
CString m_strMedName;
UINT m_nDay2;
UINT m_nMonth;
UINT m_nMonth2;
UINT m_nYear;
UINT m_nYear2;
CString m_strWhere;
//}}AFX_DATA
// Attributes
public:
// Operations
public:
void GetTotalMoney();
void AddListHeader();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBuyStatView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
static const int m_nFieldCount; // 字段个数
static const CString m_strFields[]; // 注意这里
_RecordsetPtr m_pRecordset;
UINT m_nType;
virtual ~CBuyStatView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CBuyStatView)
afx_msg void OnDestroy();
afx_msg void OnViewresult();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUYSTATVIEW_H__237F9803_1541_4D94_81D7_4D9941714306__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -