【正文】
RUE)。 pWndEnableWindow(FALSE)。 pWndEnableWindow(FALSE)。 pWndEnableWindow(FALSE)。 pWndEnableWindow(FALSE)。 pWnd = GetDlgItem(IDC_CANCEL_REC)。 pWnd = GetDlgItem(IDC_DELETE)。 pWnd = GetDlgItem(IDC_EDIT)。 pWnd = GetDlgItem(IDC_LAST)。 pWnd = GetDlgItem(IDC_NEXT)。 關(guān)于這個(gè) 類 ,由于管理員看到的信息和普通用戶看到的信息也不同,所以開始運(yùn) 用之前獲取的 LoginName 和 LoginType 兩個(gè)信息來作為主導(dǎo) ,當(dāng) Logintype=1 時(shí),即說明此次登陸的是管理員 所以在顯示數(shù)據(jù)時(shí)顯示所有人的信息 而若 LoginType=0,則在顯示的時(shí)候只顯示該登錄用戶的信息, 說完了 DisplayRecord 方法后, 再來說下 方法 此方法和 DisplayRecord 中一樣也分為面向讀者和面向管理員兩部分 關(guān)于本方法的實(shí)現(xiàn),簡(jiǎn)單解釋一下 ,各個(gè)按鈕的屬性很好理解 用 指針也很好實(shí)現(xiàn) 首先還是用 來判斷是否是管理員登陸的,如果是則根據(jù)數(shù)據(jù)庫(kù)是否打開以及是否 按了修改或者增加鍵來確定其他各按鈕的可操作性 ,代碼繁多這里就不一一寫明 只說明一點(diǎn) 當(dāng) 的時(shí)候沒有任何權(quán)限所以將僅留修改的權(quán)限,設(shè)定為 , 根據(jù)按下 edit 否來更改一些按鈕屬性 else if(LoginType==39。 綜合以上的設(shè)計(jì)思路首先 定義一個(gè) 來建立與數(shù)據(jù)庫(kù) 中讀者表 READER 的連接 。 實(shí)現(xiàn) 歷史記錄 功能 為了 圖書借閱功能的可查可控,制作了歷史記錄表便于記錄各種信息諸如 何人何時(shí)借閱歸還何書, 是否超期還書 等 。 需求分析 在符合設(shè)計(jì)要求的情況下: 圖書管理系統(tǒng)中主要出現(xiàn)的事物是 圖書, 讀者, 管理員 而需要實(shí)現(xiàn)的功能主要有 借閱, 還書 、 注冊(cè)新讀者, 續(xù)借功能 , 除了圖書管理方面功能,另外還有對(duì)讀者信息的修改 對(duì)圖書信息的修改,以及細(xì)節(jié)上如對(duì)登陸密碼的修改等 。 學(xué)生(簽名): 2021 年 6 月 20 日 引言 一、 設(shè)計(jì)題目 一個(gè)簡(jiǎn)單的圖書管理系統(tǒng)包括圖書館內(nèi)書籍的信息、學(xué)校在校學(xué)生的信息以及學(xué)生的借閱信息。 課程設(shè)計(jì)報(bào)告書 課題 : 圖書管理系統(tǒng) 學(xué) 生 姓 名: XXX 學(xué)號(hào): XXX 學(xué) 部 (系): 專 業(yè) 年 級(jí): 指 導(dǎo) 教 師: 承諾書 本人鄭重聲明:本人所呈交的學(xué) 術(shù) 論文,是本人在導(dǎo)師指導(dǎo)下獨(dú)立進(jìn)行研究工作所取得的成果。本人完全意識(shí)到本聲明的法律結(jié)果由本人承擔(dān)。 Abstract First: Design Subject A simple library management system includes information on books in libraries, schools, students in the school of information and student loan information. This system functions for administrators to students and is divided into two parts, in which students can borrow, renew, return and check books and other operations, administrators and students can plete books to add, delete and modify as well as for students to borrow , renew, return confirmation. Second: This article describes a based on ACCESS database library management system design and implementation, using Visual C + + with Microsoft Access 2021 development, the module has landing module, login module for user authentication, select the landing approach, which limits the different users of different operating , verify the backward selection in the main interface module, which you can choose a variety of functions in operations, including information on the readers, books, return books to borrow management, database design, requirements analysis based on strict watch, the whole system design of the use of the Modular design and development methods. 目 錄 一 、 系統(tǒng)功能和結(jié)構(gòu) 程序設(shè)計(jì)目的 需求分析 二、 數(shù)據(jù)庫(kù)設(shè)計(jì) 數(shù)據(jù)庫(kù)概念結(jié)構(gòu)設(shè)計(jì) 數(shù)據(jù)需求 事務(wù)需求 數(shù)據(jù)庫(kù)邏輯結(jié)構(gòu)設(shè)計(jì) (每個(gè)表的結(jié)構(gòu),字段的類型、長(zhǎng)度等) 三、 程序結(jié)構(gòu)設(shè)計(jì) 設(shè)計(jì) 開發(fā)平臺(tái)說明 程序框架設(shè)計(jì) 程序詳細(xì)設(shè)計(jì) 四、 系統(tǒng)詳細(xì)設(shè)計(jì) ( 1)( 2)( 3)( 4) 功能詳細(xì)設(shè)計(jì) 及說明 ( 1)( 2)( 3)( 4) 主要功能 的實(shí)現(xiàn) 方法 五 、設(shè)計(jì)體會(huì)與總結(jié) 程序不足 設(shè)計(jì)心得 六 、 附錄 參考文獻(xiàn) 致謝 一 、 系統(tǒng)功能和結(jié)構(gòu) 程序設(shè)計(jì)目的 圖書管理系統(tǒng)中 涉及登陸,圖書管理讀者管理,以及權(quán)限設(shè)置相關(guān)知識(shí),需要運(yùn)用的知識(shí)全面, 可有效檢查出學(xué)習(xí)中的缺陷, 同時(shí)在實(shí)踐中鞏固數(shù)據(jù)庫(kù)相關(guān)知識(shí)以及 VC++編程設(shè)計(jì) 。 另外在程序設(shè)計(jì)初期對(duì)借閱信息這一塊考慮到了管理員也可借書故還添加了“管理員證號(hào)”不過在程序設(shè)計(jì)后期并未實(shí)現(xiàn)功能 ,但依舊存在于表中 事務(wù)需求 實(shí)現(xiàn)登陸功能 為實(shí)現(xiàn)登陸功能 設(shè)計(jì)了兩個(gè)表, 分別是作為管理員登陸的“ 管理員登錄 表 ”及作為普通用戶登錄的“普通用戶 登錄表”其中分別都只有用戶