-
大小: 12.11MB文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2023-07-06
- 語言: C/C++
- 標(biāo)簽:
資源簡介
基于MFC的圖書館管理系統(tǒng),沒有使用數(shù)據(jù)庫,用的文件。
代碼片段和文件信息
//?AdminDlg.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“圖書館管理系統(tǒng).h“
#include?“AdminDlg.h“
#include?“ALLInfoDlg.h“
#include?“ALLBookDlg.h“
#include?“CenterClass.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAdminDlg?dialog
CAdminDlg::CAdminDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CAdminDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CAdminDlg)
m_Birthday?=?_T(““);
m_BookName?=?_T(““);
m_BookNum?=?_T(““);
m_name?=?_T(““);
m_num?=?_T(““);
m_pro?=?_T(““);
m_sex?=?_T(““);
m_stunum?=?_T(““);
m_zhanghao?=?_T(““);
m_BookSum?=?0;
//}}AFX_DATA_INIT
}
void?CAdminDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAdminDlg)
DDX_Text(pDX?IDC_BIRTHDAY?m_Birthday);
DDX_Text(pDX?IDC_BOOKNAME?m_BookName);
DDX_Text(pDX?IDC_BOOKNUM?m_BookNum);
DDX_Text(pDX?IDC_NAME?m_name);
DDX_Text(pDX?IDC_NUM?m_num);
DDX_Text(pDX?IDC_PRO?m_pro);
DDX_Text(pDX?IDC_SEX?m_sex);
DDX_Text(pDX?IDC_STUNUM?m_stunum);
DDX_Text(pDX?IDC_ZHANGHAO?m_zhanghao);
DDX_Text(pDX?IDC_BOOKSUM?m_BookSum);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAdminDlg?CDialog)
//{{AFX_MSG_MAP(CAdminDlg)
ON_BN_CLICKED(IDC_BUTTON_READERS?OnButtonReaders)
ON_BN_CLICKED(IDC_BUTTON_BOOK?OnButtonBook)
ON_BN_CLICKED(IDC_BUTTON_INSERT?OnButtonInsert)
ON_BN_CLICKED(IDC_CLEAN?OnClean)
ON_BN_CLICKED(IDC_BUTTON_SEARCHS?OnButtonSearchs)
ON_BN_CLICKED(IDC_BUTTON_DEL?OnButtonDel)
ON_BN_CLICKED(IDC_BUTTON_SEARCHR?OnButtonSearchr)
ON_BN_CLICKED(IDC_BUTTON_DELR?OnButtonDelr)
ON_BN_CLICKED(IDC_BUTTON_BACK?OnButtonBack)
ON_BN_CLICKED(IDC_BUTTON_MODIR?OnButtonModir)
ON_BN_CLICKED(IDC_SURE_MODIFY?OnSureModify)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAdminDlg?message?handlers
BOOL?CAdminDlg::OnInitDialog()?
{
CDialog::OnInitDialog();
//?TODO:?Add?extra?initialization?here
CRect?Seprect;
GetWindowRect(&Largerect);
GetDlgItem(IDC_SEPARATOR)->GetWindowRect(&Seprect);
Smallrect.left=Largerect.left;
Smallrect.top=Largerect.top;
Smallrect.bottom=Largerect.bottom;
Smallrect.right=Seprect.right;
SetWindowPos(NULL00Smallrect.Width()Smallrect.Height()SWP_NOMOVE?|?SWP_NOZORDER);
return?TRUE;??//?return?TRUE?unless?you?set?the?focus?to?a?control
//?EXCEPTION:?OCX?Property?Pages?should?return?FALSE
}
void?CAdminDlg::OnButtonReaders()?
{
//?TODO:?Add?your?control?notification?handler?code?here
CALLInfoDlg?dlg;
dlg.DoModal();
}
void?CAdminDlg::OnButtonBook()?
{
//?TODO:?Add?your?control?notification?handler?code?here
CALLBookDlg?dlg;
dlg.DoModal();
}
void?CAdminDlg::OnButtonInsert()?
{
//?TODO:?Add?your?control?notification?handler?code?here
UpdateData();
if(!m_BookName.GetLength()
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-06-30?17:07??圖書館管理系統(tǒng)\
?????目錄???????????0??2018-06-30?17:36??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\
?????文件??????????35??2018-06-30?17:26??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\001.txt
?????文件????????8577??2011-10-11?21:12??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\AdminDlg.cpp
?????文件????????1758??2011-10-11?19:41??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\AdminDlg.h
?????文件????????1742??2011-10-11?16:34??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\ALLBookDlg.cpp
?????文件????????1242??2011-10-10?19:47??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\ALLBookDlg.h
?????文件????????1089??2011-10-09?22:20??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\ALLBookInfoDlg.cpp
?????文件????????1312??2011-10-09?22:20??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\ALLBookInfoDlg.h
?????文件????????1944??2011-10-10?20:54??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\ALLInfoDlg.cpp
?????文件????????1237??2011-10-10?20:17??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\ALLInfoDlg.h
?????文件?????????322??2018-06-30?17:26??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\books.txt
?????文件????????1583??2011-10-12?15:55??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\BroBooksDlg.cpp
?????文件????????1247??2011-10-12?13:25??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\BroBooksDlg.h
?????文件???????11971??2011-10-13?01:06??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\CenterClass.cpp
?????文件????????4476??2011-10-13?00:21??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\CenterClass.h
?????目錄???????????0??2018-06-30?17:26??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\
?????文件???????66733??2011-10-13?00:45??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\AdminDlg.obj
?????文件???????????0??2011-10-13?00:45??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\AdminDlg.sbr
?????文件???????23511??2011-10-13?00:45??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\ALLBookDlg.obj
?????文件???????????0??2011-10-13?00:45??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\ALLBookDlg.sbr
?????文件???????10541??2011-10-09?22:22??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\ALLBookInfoDlg.obj
?????文件???????29254??2011-10-13?00:45??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\ALLInfoDlg.obj
?????文件???????????0??2011-10-13?00:45??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\ALLInfoDlg.sbr
?????文件???????21703??2011-10-13?00:45??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\BroBooksDlg.obj
?????文件???????????0??2011-10-13?00:45??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\BroBooksDlg.sbr
?????文件??????148009??2011-10-13?01:06??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\CenterClass.obj
?????文件???????????0??2011-10-13?01:06??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\CenterClass.sbr
?????文件???????37009??2011-10-13?17:53??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\FindDlg1.obj
?????文件???????????0??2011-10-13?17:53??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\FindDlg1.sbr
?????文件???????28739??2011-10-13?18:04??圖書館管理系統(tǒng)\圖書館管理系統(tǒng)\Debug\FindDlg2.obj
............此處省略95個(gè)文件信息
評(píng)論
共有 條評(píng)論