routesearchview.h

来自「汽车站售票管理系统,源代码完整无错」· C头文件 代码 · 共 73 行

H
73
字号
#if !defined(AFX_ROUTESEARCHVIEW_H__939B3F7C_195D_4339_AA9D_DD6AA604090B__INCLUDED_)
#define AFX_ROUTESEARCHVIEW_H__939B3F7C_195D_4339_AA9D_DD6AA604090B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CRouteSearchView record view

#include "RouteSet.h"

class CRouteSearchView : public CRecordView
{
protected:
	CRouteSearchView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CRouteSearchView)

// Form Data
public:
	//{{AFX_DATA(CRouteSearchView)
	enum { IDD = IDD_ROUTESEARCH };
	CListCtrl	m_rslist;
	CListCtrl	m_list_route;
	CComboBox	m_searchtype;
	CRouteSet* m_pSet;
	CString	m_keyword;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	void showList(CRecordset* m_pSet,CListCtrl &m_list);
	CRouteSet* GetRecordset();


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRouteSearchView)
		// NOTE - the ClassWizard will add and remove member functions here.
	public:
	virtual CRecordset* OnGetRecordset();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CRouteSearchView)
	afx_msg void OnSearch();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_ROUTESEARCHVIEW_H__939B3F7C_195D_4339_AA9D_DD6AA604090B__INCLUDED_)

⌨️ 快捷键说明

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