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

📄 keshe_flightview.h

📁 民航机票预订系统 结合MFC界面编程 具有订票、退票
💻 H
字号:
// Keshe_flightView.h : interface of the CKeshe_flightView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_KESHE_FLIGHTVIEW_H__B9204A9A_B2EE_4656_B615_13BE2E41024A__INCLUDED_)
#define AFX_KESHE_FLIGHTVIEW_H__B9204A9A_B2EE_4656_B615_13BE2E41024A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


#include "DoctorListCtrl.h"
#include "flight.h"


class CKeshe_flightView : public CView
{
protected: // create from serialization only
	CKeshe_flightView();
	DECLARE_DYNCREATE(CKeshe_flightView)

// Attributes
public:
	CKeshe_flightDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CKeshe_flightView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CKeshe_flightView();
	void UpdateCusView(customer * c);
    void UpdateAirLineView(airline *p);
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CKeshe_flightView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDingpiao();
	afx_msg void OnUpdateDingpiao(CCmdUI* pCmdUI);
	afx_msg void OnHangbanChaxun();
	afx_msg void OnUpdateHangbanChaxun(CCmdUI* pCmdUI);
	afx_msg void OnChengkeLiebiao();
	afx_msg void OnUpdateChengkeLiebiao(CCmdUI* pCmdUI);
	afx_msg void OnTuipiao();
	afx_msg void OnUpdateTuipiao(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
    CDoctorListCtrl m_ListCtrl;
	CFlight m_flight;
	customer *cus;
	airline  *air;
	BOOL m_bShowView;
	BOOL m_bOld;
	BOOL  m_first;
};

#ifndef _DEBUG  // debug version in Keshe_flightView.cpp
inline CKeshe_flightDoc* CKeshe_flightView::GetDocument()
   { return (CKeshe_flightDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_KESHE_FLIGHTVIEW_H__B9204A9A_B2EE_4656_B615_13BE2E41024A__INCLUDED_)

⌨️ 快捷键说明

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