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

📄 saleticketview.h

📁 汽车站售票管理系统,源代码完整无错
💻 H
字号:
#if !defined(AFX_SALETICKETVIEW_H__15C555CA_DB61_456E_B88D_CB22817F9108__INCLUDED_)
#define AFX_SALETICKETVIEW_H__15C555CA_DB61_456E_B88D_CB22817F9108__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSaleTicketView record view

#include "TicketSet.h"

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

// Form Data
public:
	//{{AFX_DATA(CSaleTicketView)
	enum { IDD = IDD_SALES_TICKETS };
	CDateTimeCtrl	m_datetimectrl;
	CListCtrl	m_leftticket_list;
	CButton	m_leftticket_bcontrol;
	CTicketSet* m_pSet;
	CString	m_end;
	float	m_price;
	CString	m_route;
	CString	m_seattype;
	CString	m_leftseat;
	CString	m_fctime;
	CString	m_fcdate1;
	CTime	m_fcTime;
	//}}AFX_DATA

// Attributes
public:

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


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

	// Generated message map functions
	//{{AFX_MSG(CSaleTicketView)
	afx_msg void OnBUTTONsearchlefticket();
	afx_msg void OnClickLeftTicket(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBUTTONsale();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SALETICKETVIEW_H__15C555CA_DB61_456E_B88D_CB22817F9108__INCLUDED_)

⌨️ 快捷键说明

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