📄 flightadd.cpp
字号:
// FlightAdd.cpp : implementation file
//
#include "stdafx.h"
#include "db.h"
#include "FlightAdd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// FlightAdd dialog
FlightAdd::FlightAdd(CWnd* pParent /*=NULL*/)
: CDialog(FlightAdd::IDD, pParent)
{
//{{AFX_DATA_INIT(FlightAdd)
m_flightnum = _T("");
m_flightprice = 0;
m_fromcity = _T("");
m_restseat = 0;
m_tocity = _T("");
m_totalseat = 0;
//}}AFX_DATA_INIT
}
void FlightAdd::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(FlightAdd)
DDX_Text(pDX, IDC_FLIGHTNUM, m_flightnum);
DDX_Text(pDX, IDC_FLIGHTPRICE, m_flightprice);
DDX_Text(pDX, IDC_FROMCITY, m_fromcity);
DDX_Text(pDX, IDC_RESTSEATS, m_restseat);
DDX_Text(pDX, IDC_TOCITY, m_tocity);
DDX_Text(pDX, IDC_TOTALSEATS, m_totalseat);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(FlightAdd, CDialog)
//{{AFX_MSG_MAP(FlightAdd)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// FlightAdd message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -