projectview.h

来自「赛克思书店销售管理系统.可用于二次开发,以C++与sql 写.」· C头文件 代码 · 共 70 行

H
70
字号
// ProjectView.h : interface of the CProjectView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_PROJECTVIEW_H__C52ED24D_33AC_4693_B2CD_ABA3C45706FE__INCLUDED_)
#define AFX_PROJECTVIEW_H__C52ED24D_33AC_4693_B2CD_ABA3C45706FE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <vector>

class CProjectView : public CListView
{
protected: // create from serialization only
	CProjectView();
	DECLARE_DYNCREATE(CProjectView)
public:
	_ConnectionPtr pConn;
	_RecordsetPtr pRst;
// Attributes
public:
	CProjectDoc* GetDocument();

// Operations
public:
	int ListCtrl;
// Overrides
	//{{AFX_VIRTUAL(CProjectView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL
	std::vector<CString> names;
	std::vector<CString> values;

// Implementation
public:
	virtual ~CProjectView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CProjectView)
	afx_msg void OnLinkBook();
	afx_msg void OnLinkEmp();
	afx_msg void OnLinkVip();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ProjectView.cpp
inline CProjectDoc* CProjectView::GetDocument()
   { return (CProjectDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_PROJECTVIEW_H__C52ED24D_33AC_4693_B2CD_ABA3C45706FE__INCLUDED_)

⌨️ 快捷键说明

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