软件工程课程设计任务书——图书管理系统(8)
时间:2026-01-17
时间:2026-01-17
软件工程课程设计——
"DSN=LibraryDB\0" "Description=Hotel\0" "FileType=Access\0" "DBQ=.\\LibDB.mdb\0" ); #ifdef _AFXDLL Enable3dControls(); // Call this when using MFC in a shared DLL #else Enable3dControlsStatic(); // Call this when linking to MFC statically #endif // Change the registry key under which our settings are stored. // TODO: You should modify this string to be something appropriate // such as the name of your company or organization. SetRegistryKey(_T("Local AppWizard-Generated Applications")); LoadStdProfileSettings(); // Load standard INI file options (including MRU) //InitializeSkin(_T("XPCorona.ssk")); // Register the application's document templates. Document templates // serve as the connection between documents, frame windows and views. CLoginDlg loginDlg; if(loginDlg.DoModal()!=IDOK) return FALSE; CSingleDocTemplate* pDocTemplate; pDocTemplate = new CSingleDocTemplate( IDR_MAINFRAME, RUNTIME_CLASS(CLibraryDoc), RUNTIME_CLASS(CMainFrame), // main SDI frame window RUNTIME_CLASS(CLibraryView)); AddDocTemplate(pDocTemplate); // Parse command line for standard shell commands, DDE, file open CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); // Dispatch commands specified on the command line if (!ProcessShellCommand(cmdInfo)) return FALSE; // The one and only window has been initialized, so show and update it. m_pMainWnd->ShowWindow(SW_SHOW); m_pMainWnd->UpdateWindow(); m_pMainWnd->SetWindowText("华东交通大学图书管理系统");
下一篇:第1章 网页制作基础