flightdlg.h

来自「利用odbc编程实现以下功能: 航班」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_FLIGHTDLG_H__3C62FF33_AC9F_43E4_8BAE_BA38D9C9C1E3__INCLUDED_)
#define AFX_FLIGHTDLG_H__3C62FF33_AC9F_43E4_8BAE_BA38D9C9C1E3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// flightdlg.h : header file
//
#include "afxdb.h"
/////////////////////////////////////////////////////////////////////////////
// Cflightdlg dialog

class Cflightdlg : public CDialog
{
// Construction
public:
	CString key;
	void unreserve();
	CString customname;
	CString flight_id;
	CDatabase  m_database;
	void RefreshData();
	CString p_query;
	Cflightdlg(CWnd* pParent = NULL); 
	BOOL OnInitDialog(void);// standard constructor
// Dialog Data
	//{{AFX_DATA(Cflightdlg)
	enum { IDD = IDD_DIALOG2 };
	CListCtrl	m_basic;
	CString	m_field;
	CString	m_relation;
	CString	m_content;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Cflightdlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(Cflightdlg)
	afx_msg void OnButton1();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButton2();
	afx_msg void OnUpdata();
	afx_msg void OnSelect();
	afx_msg void OnReserve();
	afx_msg void OnButton3();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FLIGHTDLG_H__3C62FF33_AC9F_43E4_8BAE_BA38D9C9C1E3__INCLUDED_)

⌨️ 快捷键说明

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