版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、圖書管理系統(tǒng)設(shè)計(jì)源代碼 :*: 文件列表FILE圖書管理系統(tǒng) .PRG1310657170.JPGGLY.SCXGLYXXCX.SCXJYCX.SCXJYGL.SCXSJGL.SCXTJTS.SCXTSXXCX.SCXTSXXGL.SCX登陸界面 .SCX圖書管理 .DBCDatabase Database Version 10 Database TransactionLogDatabase StoredProceduresSourceDatabase StoredProceduresObjectDatabase StoredProceduresDependenciesTable 圖書信息表P
2、ath 圖書信息表 .dbf10 0Field 書名 書名 C 17 0Field 作者 作者 C 12 0Field 出版社 出版社 C 21 0Index xhUnique 0 Table 讀者信息表Path 讀者信息表 .dbf Field 學(xué)號(hào) 學(xué)號(hào) C 10 0Field 姓名 姓名 C 10 0Field 專業(yè) 專業(yè) C 10 0Field 電話 電話 C 11 0Table 借閱管理表Path 借閱管理表 .dbf10 0Field 姓名 姓名 C 10 0Field 已借書號(hào) 已借書號(hào) C 10 0Field 已借書名 已借書名 C 10 0Field 借閱日期 借閱日期 D
3、8 0Table glyPath gly.dbf Field 管理員 管理員 C 10 0Field 密碼 密碼 C 10 0Field 身份證號(hào) 身份證號(hào) C 20 0Field 備注 備注 M 4 0 NoCPTransIndex 管理員Unique 0*: 使用 Visual FoxPro 格式的向?qū)О姹旧晌臋n .05*:* *: 圖書管理系統(tǒng)PUBLIC sun,flag,xh,sh,secondtime,printtypeprinttype=0secondtime=0sun=0DO FORM 登陸界面 .scxREAD eventsLeft = 1Top = 220Width =
4、520Height = 200Name = "Dataenvironment"Left = 10Top = 20Width = 116Height = 90Alias = "gly"Database = 圖書管理 .dbcCursorSource = "gly"Name = "Cursor1" Top = 0Left = 0DoCreate = .T. Caption = "Form1" Name = "Form1" Caption = "賬號(hào) " Hei
5、ght = 24Left = 24Top = 12Width = 84Name = "Label1" Format = ""Height = 25Left = 108Top = 12Width = 168Name = "Text1" Caption = "設(shè)置新密碼 " Height = 24Left = 24Top = 84Name = "Label2" Format = "spring" Height = 24Left = 108Top = 48Width = 168Na
6、me = "Text2" Caption = "身份證號(hào) " Height = 25Left = 24Top = 48Width = 61Name = "Label3" Format = "spring" Height = 25Left = 108Top = 84Width = 169Name = "Text3" Top = 168Left = 72Width = 133Caption = "確認(rèn) "Name = "Command1"+-PROCEDURE
7、 Click| SET exact on| SET order to 管理員| SEEK thisform.Text1.value| +-IF found(=.f.| | MESSAGEBOX('此賬號(hào)不存在! ',0+64+0,'提示 '| +-ELSE| | LOCATE for 管理員 =thisform.Text1.value | | +-IF 身份證號(hào) <>thisform.Text2.value| | | MESSAGEBOX('您輸入的身份 證號(hào)不正確! ',0+64+0,'提示 '| | +-ELSE|
8、 | | +-IF len(thisform.Text3.value<6 | | | | MESSAGEBOX('密碼 不得少于 6位! ',0+64+0,'提示 '| | | +-ELSE| | | | +-IFthisform.Text3.value<>thisform.text4.value| | | | |MESSAGEBOX('2次輸入的密碼不一致,請(qǐng)重新輸入! ',0+64+0,'提示 '| | | | +-ELSE| | | | | REPLACE all 密碼 with thisform.Text
9、3.value for 管理員 =thisform.Text1.value | | | | |MESSAGEBOX('密碼修改成功! ',0+64+0,'提示 '| | | | | DO form 登 陸界面 .scx| | | | |thisform.release| | | | +-ENDIF| | | +-ENDIF| | +-ENDIF| +-ENDIF|+-ENDPROCCaption = "確認(rèn)新密碼 "Height = 25Left = 24Top = 120Width = 73Name = "Label4"
10、Height = 25Left = 108Top = 120Width = 169Name = "Text4"Name = "Dataenvironment" Alias = "gly"Database = 圖書管理 .dbc CursorSource = "gly" Name = "Cursor1" DoCreate = .T.Caption = "glyxxcx" Name = "Form1" ColumnCount = 3Height = 229Le
11、ft = 12 RecordSource = "gly" Top = 12Width = 361Name = "Grid1" Column1.ControlSource = "gly.管理員 " Column1.Width = 75Column1.Name = "Column1" Column2.ControlSource = "gly.密碼 " Column2.Width = 75Column2.Name = "Column2" Column3.ControlSource
12、= "gly.身份證號(hào) " Column3.Width = 75Column3.Name = "Column3"Caption = "管理員 "Name = "Header1"BorderStyle = 0Margin = 0ForeColor = 0,0,0BackColor = 255,255,255Name = "Text1"Caption = "密碼 "Name = "Header1"BorderStyle = 0Margin = 0ForeCol
13、or = 0,0,0BackColor = 255,255,255 Name = "Text1"Caption = "身份證號(hào) " Name = "Header1" BorderStyle = 0Margin = 0ForeColor = 0,0,0 BackColor = 255,255,255 Name = "Text1"Left = 1Top = 220Width = 520Height = 200Name = "Dataenvironment" Left = 10Top = 20Widt
14、h = 116Height = 90Alias = "借閱管理表 " Database = 圖書管理 .dbc CursorSource = "借閱管理表 " Name = "Cursor1"Top = 0Left = 0Height = 443Width = 625DoCreate = .T.Caption = "Form1"WindowState = 2Name = "Form1"Top = 360Left = 132Height = 25Width = 96Caption = "
15、返回 "Name = "Command1" +-PROCEDURE Click| thisform.RELEASE +-ENDPROCColumnCount = 5Height = 288Left = 12RecordSource = "借閱管理表 " Top = 24Width = 492Name = "Grid1"Column1.ControlSource = "借閱管理表 . 姓名 " Column1.Width = 75Column1.Name = "Column1" Colu
16、mn2.ControlSource = "借閱管理表 . 已借書號(hào) " Column2.Width = 75Column2.Name = "Column2" Column3.ControlSource = "借閱管理表 . 已借書名 " Column3.Width = 75Column3.Name = "Column3" Column4.ControlSource = "借閱管理表 . 借閱日期 " Column4.Width = 75Column4.Name = "Column4&q
17、uot; Column5.ControlSource = "借閱管理表 . 學(xué)號(hào) " Column5.Width = 75Column5.Name = "Column5"Caption = "姓名 "Name = "Header1"BorderStyle = 0Margin = 0ForeColor = 0,0,0BackColor = 255,255,255 Name = "Text1" Caption = "已借書號(hào) " Name = "Header1"
18、; BorderStyle = 0Margin = 0ForeColor = 0,0,0 BackColor = 255,255,255 Name = "Text1" Caption = "已借書名 " Name = "Header1" BorderStyle = 0Margin = 0ForeColor = 0,0,0 BackColor = 255,255,255 Name = "Text1" Caption = "借閱日期 " Name = "Header1" Bord
19、erStyle = 0Margin = 0ForeColor = 0,0,0 BackColor = 255,255,255Name = "Text1"Caption = "學(xué)號(hào) "Name = "Header1" BorderStyle = 0Margin = 0ForeColor = 0,0,0 BackColor = 255,255,255 Name = "Text1"Left = 1Top = 220Width = 520Height = 200Name = "Dataenvironment&qu
20、ot; Left = 10Top = 20Width = 116Height = 90Alias = "圖書信息表 " Database = 圖書管理 .dbc CursorSource = "圖書信息表 " Name = "Cursor1"Top = -1Height = 443 Width = 625 DoCreate = .T. Caption = "Form1" WindowState = 2 Name = "Form1" Caption = "書號(hào) " Height
21、 = 37 Left = 168 Top = 48Width = 121 Name = "Label2" Caption = "書名 " Height = 37 Left = 168 Top = 108 Width = 121 Name = "Label3" Caption = "作者 " Height = 37 Left = 168Width = 121 Name = "Label4" Height = 37 Left = 312 Top = 48 Width = 145 Name = &qu
22、ot;Text1" Height = 37 Left = 312 Top = 108 Width = 145 Name = "Text2" Height = 37 Left = 312 Top = 156 Width = 145 Name = "Text3" Top = 264 Left = 168 Height = 37 Width = 97Caption = "查詢書籍 "Name = "Command2"+-PROCEDURE Click| GO top| SET exact on| LOCATE
23、for 書號(hào) =thisform.Text1.value and 書名 =thisform.Text2.value| +-IF found(=.t.| | thisform.Text1.value=書號(hào)| | thisform.Text2.value=書名| | thisform.Text3.value=作者| | thisform.text4.value=出版社| +-ELSE| | =MESSAGEBOX("對(duì)不起 , 你的輸入錯(cuò) 誤! ",48," 信息提示 "| +-ENDIF|+-ENDPROCTop = 264Left = 324Height
24、 = 37Width = 85Caption = "退出 "Name = "Command3" +-PROCEDURE Click| thisform.RELEASE +-ENDPROCCaption = "出版社 "Height = 37Left = 168Top = 204Width = 121Name = "Label1"Height = 37Left = 312Top = 204Width = 145Name = "Text4"Left = 1Top = 220Width = 520He
25、ight = 200Name = "Dataenvironment"Left = 10Top = 20Width = 116Height = 90Alias = "圖書信息表 " ORDER = "xh"Database = 圖書管理 .dbc CursorSource = "圖書信息表 " Name = "Cursor1"Top = 10Left = -34Height = 445Width = 606DoCreate = .T.Caption = "Form1" Wind
26、owState = 2Name = "Form1"Caption = "書號(hào) "Height = 36Left = 48Top = 60Width = 96Name = "Label1"Caption = "書名 "Height = 36Left = 48Top = 120Width = 96Name = "Label2"Height = 37Left = 192Top = 120Width = 168Name = "Text2"Top = 288Left = 12Heigh
27、t = 49Width = 97Caption = "修改 "Name = "Command1"+-PROCEDURE Click| SET exact on| DIME a(4| a(1=thisform.Text1.value| a(2=thisform.Text2.value| a(3=thisform.Text3.value| a(4=thisform.text4.value| LOCATE for 書名 =a(1 and 書號(hào) =a(2| +-IF found(=.t.| | REPLACE 書號(hào) with a(1| | REPLACE 書名
28、with a(2| | REPLACE 作者 with a(3| | REPLACE 出版社 with a(4| | =MESSAGEBOX("該書已經(jīng)修改成功! ",48," 信息提示 "| +-ELSE| | =MESSAGEBOX("沒有找到對(duì)應(yīng)的圖書 編號(hào)! ",48," 信息提示 "| +-ENDIF+-ENDPROCTop = 288Left = 312Height = 49Width = 97Caption = "取消 "Name = "Command2"+-P
29、ROCEDURE Click| thisform.RELEASE+-ENDPROCTop = 288Left = 144Height = 49Width = 121Caption = "刪除 "Name = "Command3"+-PROCEDURE Click| GO top| SET exact on| LOCATE for 書名 =thisform.Text1.value and 書號(hào) =thisform.Text2.value| +-IF found(=.t.| | Delete| | PACK| | =MESSAGEBOX("該書已經(jīng)
30、刪除! ",48," 信息提示 "| +-ELSE| | =MESSAGEBOX("對(duì)不起 , 你的輸入錯(cuò) 誤! ",48," 信息提示 "| +-ENDIF |+-ENDPROCCaption = "作者 " Height = 37 Left = 48Top = 180Width = 85 Name = "Label3" Caption = "出版社 " Height = 37 Left = 48Top = 228Width = 97 Name = "L
31、abel4" Height = 36 Left = 192Top = 168Width = 168 Name = "Text3" Height = 33 Left = 192Top = 219Width = 168Name = "Text4"Format = ""Height = 37Left = 192Top = 60Width = 168Name = "Text1"Left = 92Top = 343Width = 520Height = 200Name = "Dataenvironment
32、" Left = 150Top = 20Width = 116Height = 90Alias = "圖書信息表 1" Database = 圖書管理 .dbc CursorSource = "圖書信息表 " Name = "Cursor2"Top = -10Left = 90 DoCreate = .T. Caption = "tjxdbd" Name = "Form1" Caption = "書號(hào) " Height = 25 Left = 12Top = 24W
33、idth = 73 Name = "書號(hào) " Caption = "書名 " Height = 37 Left = 12Top = 60Width = 85 Name = "Label2" Caption = "出版社 " Height = 25 Left = 12Top = 144Width = 85Name = "Label4" Value =Format = "" Height = 25 Left = 96 Top = 24 Width = 169 Name = &qu
34、ot;Text1" Value =Format = "" Height = 25 Left = 96 Top = 60 Width = 169 Name = "Text2" Value =Format = "" Height = 24 Left = 96 Top = 96 Width = 168 Name = "Text3"Value =Format = ""Height = 24Left = 96Top = 144Width = 168Name = "Text4"
35、Caption = "作者 "Height = 25Left = 12Top = 96Width = 73Name = "Label1"Top = 192Left = 36Height = 37Width = 109Caption = "確定 "Name = "Command1"+-PROCEDURE Click| DIME a(4| a(1=thisform.Text1.value| a(2=thisform.Text2.value| a(3=thisform.Text3.value| a(4=thisform.
36、text4.value| SET exact on| LOCATE for 書名 =a(1 and 書號(hào) =a(2| +-IF eof(=.t.| | APPEND from array a| | MESSAGEBOX('該書已經(jīng)添加成功! ',48,' 信息提示 '| | thisform.RELEASE| +-ELSE| | | =MESSAGEBOX("該書已經(jīng)存在, 請(qǐng)重新 輸入! ",48," 信息提示 "| +-ENDIF|+-ENDPROCTop = 192Left = 180Height = 37Width
37、 = 109Caption = "取消 "Name = "Command2" +-PROCEDURE Click| DO form tsxxgl.scx | thisform.release +-ENDPROCLeft = 1Top = 220Width = 520Height = 200Name = "Dataenvironment" Alias = "圖書信息表 " Database = 圖書管理 .dbc CursorSource = "圖書信息表 " Name = "Curso
38、r1"DoCreate = .T.Caption = "tsxxcx"Name = "Form1"ColumnCount = 4Height = 217Left = 0RecordSource = "圖書信息表 " Top = 0Width = 373Name = "Grid1"Column1.ControlSource = "圖書信息表 . 書號(hào) " Column1.Width = 75Column1.Name = "Column1" Column2.Contro
39、lSource = "圖書信息表 . 書名 " Column2.Width = 75Column2.Name = "Column2" Column3.ControlSource = "圖書信息表 . 作者 " Column3.Width = 75Column3.Name = "Column3" Column4.ControlSource = "圖書信息表 . 出版社 " Column4.Width = 75Column4.Name = "Column4"Caption = &
40、quot;書號(hào) "Name = "Header1"BorderStyle = 0Margin = 0ForeColor = 0,0,0BackColor = 255,255,255Name = "Text1"Caption = "書名 "Name = "Header1" BorderStyle = 0Margin = 0ForeColor = 0,0,0 BackColor = 255,255,255 Name = "Text1"Caption = "作者 "Nam
41、e = "Header1" BorderStyle = 0Margin = 0ForeColor = 0,0,0 BackColor = 255,255,255 Name = "Text1"Caption = "出版社 " Name = "Header1" BorderStyle = 0Margin = 0ForeColor = 0,0,0 BackColor = 255,255,255 Name = "Text1"Name = "Dataenvironment" Top =
42、 -2Left = -4Height = 443Width = 625DoCreate = .T.Caption = "圖書信息管理 " WindowState = 2Name = "Form1"Top = 84Left = 60Height = 36Width = 156FontSize = 12Caption = "添加新的圖書 " Name = "Command1" +-PROCEDURE Click| DO FORM tjts.scx |+-ENDPROCTop = 84Left = 288Height =
43、 37Width = 156FontSize = 12Caption = "管理圖書 "Name = "Command3"+-PROCEDURE Click| DO FORM sjgl.scx |+-ENDPROCTop = 264Left = 156Height = 36Width = 156FontSize = 12Caption = "返回登錄面 "Name = "Command5"+-PROCEDURE Click| DO form 登陸界面 .scx | thisform.RELEASE +-ENDPRO
44、CFontSize = 18Caption = "圖書信息管理 " Height = 37Left = 24Top = 24Width = 156Name = "Label1"Top = 144Left = 60Height = 37Width = 157FontSize = 12Caption = "查詢書籍 " Name = "Command2" +-PROCEDURE Click| DO FORM jygl.scx |+-ENDPROCTop = 144Left = 288Height = 36Width =
45、 156FontSize = 12Caption = "學(xué)生信息查詢 " Name = "Command4" +-PROCEDURE Click|+-ENDPROCTop = 204Left = 288Height = 37Width = 157FontSize = 12Caption = "管理員信息查詢 " Name = "Command7"+-PROCEDURE Click| DO form glyxxcx.scx |+-ENDPROCTop = 204Left = 60Height = 37Width =
46、157FontSize = 12Caption = "圖書信息查詢 " Name = "Command6"+-PROCEDURE Click|+-ENDPROCLeft = 1Top = 220Width = 520Height = 200Name = "Dataenvironment" Left = 10Top = 20Width = 116Height = 90Alias = "gly"Database = 圖書管理 .dbc CursorSource = "gly" Name = &quo
47、t;Cursor1"Top = 0Left = 0Height = 443Width = 625ShowWindow = 2DoCreate = .T.Caption = "登陸界面 " WindowState = 0 Name = "Form1" OLEDragPicture = Picture = 1310657170.jpg Stretch = 1Height = 720Left = -156Top = -60Width = 816Name = "Image1" FontSize = 14Caption = "
48、;用戶屬性:" Height = 36Left = 144Top = 228Width = 84BackColor = 192,192,192 Name = "Label1" FontSize = 14 ColumnCount = 0 ColumnWidths = ""RowSourceType = 1 RowSource = "管理員 " FirstElement = 1 Height = 37Left = 252 NumberOfElements = 0 SpecialEffect = 0 Style = 2Top = 228Width = 120Format = ""Name = "Combo1" FontSize = 16Caption = "賬號(hào):" Height = 36Left = 144Top = 276Width = 84 BackColor = 192,192,192 Name = "Label2" FontSize = 14Format = "STRING"Height =
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 移動(dòng)開發(fā)技術(shù)課程設(shè)計(jì)
- 揚(yáng)州大學(xué)單片機(jī)課程設(shè)計(jì)
- 混凝土課程設(shè)計(jì)目的
- 復(fù)雜的java課程設(shè)計(jì)
- 整骨課程設(shè)計(jì)
- 礦產(chǎn)勘察課程設(shè)計(jì)湖南
- 2025版家屬樓裝修工程環(huán)保驗(yàn)收與整改合同3篇
- 2025年學(xué)校門衛(wèi)勞務(wù)派遣聘用合同范本3篇
- 2025版人工智能算法合作研發(fā)合同協(xié)議書3篇
- 2025年度建筑工地施工電梯租賃及維護(hù)合同3篇
- 文言文閱讀訓(xùn)練:曾鞏《隆平集-何承矩》(附答案解析與譯文)
- 有關(guān)基建的工作總結(jié)
- 《路德維?!べM(fèi)爾巴哈和德國(guó)古典哲學(xué)的終結(jié)》導(dǎo)讀
- 材料分揀plc控制系統(tǒng)設(shè)計(jì)
- 應(yīng)用經(jīng)方治療頑固性心力衰竭課件
- 金剛石切割線行業(yè)報(bào)告
- 籌建康復(fù)醫(yī)院項(xiàng)目計(jì)劃書
- 斷點(diǎn)管理培訓(xùn)課件-供應(yīng)商版
- 初一數(shù)學(xué)寒假銜接班(寒假補(bǔ)課講義)
- 員工健康狀況篩查方案
- 執(zhí)行 如何完成任務(wù)的學(xué)問
評(píng)論
0/150
提交評(píng)論