資源簡介
做航空訂票系統所用到的一切,包括文檔。。。。。。。。。航空訂票系統航空訂票系統航空訂票系統航空訂票系統航空訂票系統航空訂票系統

代碼片段和文件信息
//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//
#include?“stdafx.h“
#include?“航班與訂票管理系統.h“
#include?“MainFrm.h“
#include?“Splash.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMainframe
IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)
BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction
CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here
}
CMainframe::~CMainframe()
{
}
int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;
if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}
if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}
//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);
//?CG:?The?following?line?was?added?by?the?Splash?Screen?component.
CSplashWnd::ShowSplashScreen(this);
return?0;
}
BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs
return?TRUE;
}
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics
#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}
void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}
#endif?//_DEBUG
/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????40960??2007-11-18?09:01??1061301205袁娜\報告\任務書?航班與訂票管理系統.DOC
?????文件????1120256??2008-01-11?11:28??1061301205袁娜\報告\航班與訂票管理系統.doc
?????文件??????35328??2008-01-11?10:22??1061301205袁娜\報告\評語(格式).doc
?????文件??????20127??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Debug\MainFrm.obj
?????文件??????10165??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Debug\MyDlg1.obj
?????文件??????10165??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Debug\MyDlg2.obj
?????文件??????21606??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Debug\Splash.obj
?????文件?????107382??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Debug\StdAfx.obj
?????文件?????372736??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統\Debug\vc60.pdb
?????文件?????290902??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統\Debug\航班與訂票管理系統.exe
?????文件??????23925??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Debug\航班與訂票管理系統.obj
?????文件?????484352??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統\Debug\航班與訂票管理系統.pdb
?????文件?????140436??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統\Debug\航班與訂票管理系統.res
?????文件??????18860??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Debug\航班與訂票管理系統Doc.obj
?????文件??????26041??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Debug\航班與訂票管理系統Set.obj
?????文件??????26526??2008-01-11?21:08??1061301205袁娜\軟件\航班與訂票管理系統\Debug\航班與訂票管理系統View.obj
?????文件???????2647??2008-01-11?20:26??1061301205袁娜\軟件\航班與訂票管理系統\MainFrm.cpp
?????文件???????1581??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統\MainFrm.h
?????文件????????997??2008-01-11?20:37??1061301205袁娜\軟件\航班與訂票管理系統\MyDlg1.cpp
?????文件???????1219??2008-01-11?20:37??1061301205袁娜\軟件\航班與訂票管理系統\MyDlg1.h
?????文件????????997??2008-01-11?20:38??1061301205袁娜\軟件\航班與訂票管理系統\MyDlg2.cpp
?????文件???????1219??2008-01-11?20:38??1061301205袁娜\軟件\航班與訂票管理系統\MyDlg2.h
?????文件???????4380??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統\ReadMe.txt
?????文件???????1198??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統\res\Toolbar.bmp
?????文件???????1078??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統\res\航班與訂票管理系統.ico
?????文件????????410??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統\res\航班與訂票管理系統.rc2
?????文件???????1078??2008-01-11?20:15??1061301205袁娜\軟件\航班與訂票管理系統\res\航班與訂票管理系統Doc.ico
?????文件???????1520??2008-01-11?20:50??1061301205袁娜\軟件\航班與訂票管理系統\Resource.h
?????文件???????3201??2008-01-11?20:26??1061301205袁娜\軟件\航班與訂票管理系統\Splash.cpp
?????文件???????1159??2008-01-11?20:26??1061301205袁娜\軟件\航班與訂票管理系統\Splash.h
............此處省略29個文件信息
- 上一篇:考博專家推薦信范文考博必備
- 下一篇:domino實現ftp上傳和的案例
評論
共有 條評論