backticketview.h

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

H
79
字号
#if !defined(AFX_BACKTICKETVIEW_H__552A02BA_6C4E_43BF_B2B0_E885C1289BB3__INCLUDED_)
#define AFX_BACKTICKETVIEW_H__552A02BA_6C4E_43BF_B2B0_E885C1289BB3__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CBackTicketView record view

#include "TicketSet.h"

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

// Form Data
public:
	//{{AFX_DATA(CBackTicketView)
	enum { IDD = IDD_BACKTICKET };
	CListCtrl	m_ticket_list;
	CComboBox	m_search_type;
	CTicketSet* m_pSet;
	CString	m_end;
	CString	m_fctime;
	CString	m_keyword;
	float	m_price;
	int		m_seatnum;
	CString	m_seattype;
	int		m_ticket_id;
	//}}AFX_DATA

// Attributes
public:

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


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBackTicketView)
		// 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 ~CBackTicketView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CBackTicketView)
	afx_msg void OnButtonSearch();
	afx_msg void OnButtonBack();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_BACKTICKETVIEW_H__552A02BA_6C4E_43BF_B2B0_E885C1289BB3__INCLUDED_)

⌨️ 快捷键说明

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