⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 salestatview.h

📁 一个小型的医药零售管理系统
💻 H
字号:
#if !defined(AFX_SALESTATVIEW_H__F44ED45C_ABC7_4CD9_9E99_65DBD39FA3B3__INCLUDED_)
#define AFX_SALESTATVIEW_H__F44ED45C_ABC7_4CD9_9E99_65DBD39FA3B3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SaleStatView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSaleStatView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CSaleStatView : public CFormView
{
protected:
	CSaleStatView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CSaleStatView)

// Form Data
public:
	//{{AFX_DATA(CSaleStatView)
	enum { IDD = IDD_SALESTAT };
	CListCtrl	m_ctlList;
	CString	m_strBuyer;
	UINT	m_nDay;
	UINT	m_nDay2;
	UINT	m_nMonth;
	UINT	m_nMonth2;
	UINT	m_nYear;
	UINT	m_nYear2;
	CString	m_strMedName;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	void GetTotalMoney();
	void AddListHeader();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSaleStatView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	_RecordsetPtr m_pRecordset;
	UINT m_nType;
	static const int m_nFieldCount;			// 字段个数
	static const CString m_strFields[];		// 注意这里
	virtual ~CSaleStatView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CSaleStatView)
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnViewresult();
	afx_msg void OnDestroy();
	afx_msg void OnPrintresult();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SALESTATVIEW_H__F44ED45C_ABC7_4CD9_9E99_65DBD39FA3B3__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -