📄 mypropertypage1.h
字号:
// MyPropertyPage1.h : header file
//
#include "TRS.h"
//{{AFX_INCLUDES()
//}}AFX_INCLUDES
#ifndef __MYPROPERTYPAGE1_H__
#define __MYPROPERTYPAGE1_H__
/////////////////////////////////////////////////////////////////////////////
// CMyPropertyPage1 dialog
class CMyPropertyPage1 : public CPropertyPage
{
DECLARE_DYNCREATE(CMyPropertyPage1)
// Construction
public:
void Refresh();
CMyPropertyPage1();
~CMyPropertyPage1();
// Dialog Data
//{{AFX_DATA(CMyPropertyPage1)
enum { IDD = IDD_FLIGHT_PROPPAGE1 };
CListCtrl m_FlightAQ;
CString m_ArrivCity;
CString m_FlightNum;
CString m_Price;
CString m_FromCity;
CString m_NumSeat;
CString m_NumAvail;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CMyPropertyPage1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CString strSQL;
// Generated message map functions
//{{AFX_MSG(CMyPropertyPage1)
afx_msg void OnBtnFlightAdd();
afx_msg void OnBtnFlightModify();
virtual BOOL OnInitDialog();
afx_msg void OnClickListFlightaq(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CMyPropertyPage2 dialog
class CMyPropertyPage2 : public CPropertyPage
{
DECLARE_DYNCREATE(CMyPropertyPage2)
// Construction
public:
void Refresh();
CMyPropertyPage2();
~CMyPropertyPage2();
// Dialog Data
//{{AFX_DATA(CMyPropertyPage2)
enum { IDD = IDD_FLIGHT_PROPPAGE2 };
CListCtrl m_listFlightQR;
CEdit m_ctlFlightNum;
CEdit m_ctlFromCity;
CEdit m_ctlArivCity;
CString m_strArivCity;
CString m_strFromCity;
CString m_strFlightNum;
CString m_strFlightNumR;
CString m_numRes;
CString m_custName;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CMyPropertyPage2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMyPropertyPage2)
afx_msg void OnBtnFlightrQ();
afx_msg void OnBtnFlightrRes();
virtual BOOL OnInitDialog();
afx_msg void OnRADIOFLIGHTNUMFlLIGHTQR();
afx_msg void OnRadioFromcityFlighitqr();
afx_msg void OnRadioArrivcityFlightqr();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // __MYPROPERTYPAGE1_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -