【正文】
如“添加入庫后返回”按鈕的 click 過程如下 如“備份”按鈕的 click 過程如下: copy to 備份 \ +學生基本情況表 +dtoc(date(),1)+.dbf作用是拷貝一份放在過程備份目錄下并取名為:學生基本情況表 +, =備份完畢! 的作用是提示備份完畢。 5. 3登記學生學科成績模塊的設計與實現(xiàn) 程序流程圖: 界面如下圖: 如果不 存在用戶輸入的學號,則提示: 界面包括的控件有標簽、文本框、組合框、命令按鈕。功能是提示用戶輸入學生的學科成績和備份已經(jīng)輸入學生的學科成績。 實現(xiàn)過程: N Y 開始 登記學生成績 是否繼續(xù) 結(jié)束 與 同,此處不再重述。這里主要將關鍵代碼給大家介紹一下,與 相同的代碼,此處也不再重復。 檢查學號是否存在,用的是 text1 的 lostfocus 事件: “添加入庫并繼續(xù)錄入”按鈕的 click 過程如下 5. 4登記學生獎罰記錄模塊的設計與實現(xiàn) 程序流程圖: 界面如下圖: 如果不存在用戶輸入的學號,則提示: 界面包括的控 件有標簽、文本框、組合框、命令按鈕。功能是提示用戶輸入學生的獎罰記錄和備份已經(jīng)輸入的學生的獎罰記錄。 實現(xiàn)過程: N Y 開始 登記學生獎罰記錄 是否繼續(xù) 結(jié)束 與 同,此處不再重述。這里主要將關鍵代碼給大家介紹一下,與 相同的代碼,此處也不再重復。 “添加入庫并繼續(xù)錄入”按鈕的 click 過程如下 5. 5查詢學生基本信息模塊的設計與實現(xiàn) 程序流程圖: 界面如下圖: 界面包括的控件有單選按鈕、文本框、命令按鈕、表格。功能是按不同的選項查詢學生基本信息。 實現(xiàn)過程: 先將各控件放到表單上,然后對其進行屬性設置。 如單選按 鈕的屬性為: N Y 開始 設置條件 /查詢 是否繼續(xù) 結(jié)束 表格控件的屬性為: 設置單選的項數(shù) 只讀 數(shù)據(jù)源 打開方式 最后設置相應的代碼: 的代碼為: 主要是應用 set filt to 對數(shù)據(jù)進行篩選,通過判斷 的值來確定用戶選擇的是哪一個單選按鈕。 的代碼為: 5. 6查詢學生學科成績模塊的設計與實現(xiàn) 程序流程圖: 界面如下圖: 界面包括的控件文本框、命令按鈕、表格。功能是 按學號查詢學生的成績。 實現(xiàn)過程: 先將各控件放到表單上,然后對其進行屬性設置。 表格控件的屬性為: N Y 開始 設置條件 /查詢 是否繼續(xù) 結(jié)束 其中數(shù)據(jù)源由本地視圖 cxcj 而來,如下圖: 最后設置相應的代碼: 的代碼為: 只讀 數(shù)據(jù)源 打開方式 set filt to 學號 =alltrim() go top 主要是應用 set filt to 對數(shù)據(jù)進行篩 選。 查詢學生獎罰記錄同上,不再重復。 5. 7密碼修改模塊的設計與實現(xiàn) 程序流程圖: 界面如下圖: N Y 開始 輸入原密碼 /新密碼 是否繼續(xù) 結(jié)束 界面包括的控件文本框、命令按鈕等。 實現(xiàn)過程: 的代碼為: 先判斷原密碼是否正確,然后再進行修改。 第六章 系統(tǒng)使用說明 6. 1使用說明 運行于 Windows 98 以上操作系統(tǒng)。 系統(tǒng)默認密碼: 11111111 6. 2運行環(huán)境 Windows 98 以上操作系統(tǒng)。 Visual Foxpro 支持。 6. 3運行結(jié)果 圖 登 錄界面 圖 系統(tǒng)主界面 圖 登記學生基本信息界面 圖 登記學生學科成績界面 圖 登記學生獎罰記錄界面 圖 學生基本信息查詢界面 圖 學生學科成績查詢界面 圖 學生獎罰記錄查詢界面 圖 密碼修改界面 第七章 設計心得 經(jīng)過三個多月的設計和開發(fā),學生綜合素質(zhì)管理系統(tǒng)基本開發(fā)完畢。 該系統(tǒng)的功能基本符合學校管理學生檔案的需求,能夠完成學生基本情況、學生學科成績、學生獎罰記錄等信息的輸入、查詢。并提供部分系統(tǒng)維護功能 。同時也考慮到了單位編碼以減少數(shù)據(jù)冗余的問題,對于數(shù)據(jù)的一致性的問題也通過程序進行了有效的解決。 但是由于畢業(yè)設計時間較短、本人水平有限,所以該系統(tǒng)還有許多不盡如人意的地方,比如聯(lián)機文檔比較少,用戶界面不夠美觀,出錯處理不完善等多方面問題。這些都有待進一步改善。 第八章 致謝 我很慶幸有這樣學與用結(jié)合的機會,通過這次設計,我學到了許多課外的東西,加深了對知識的了解,提高了應用和動手能力,這些都離不開精心指導我整個畢業(yè)設計的 xxx老師。 x老師對我嚴格要求,認真負責,在 編程思想與編程時所遇到的問題都給以熱情詳細的指導,他對學生認真負責的態(tài)度與對工作孜孜不倦的精神,都給我以深遠的影響。在此,對老師表示衷心的感謝。 參考文獻 [1]. 軟件工程導論 張海藩 清華大學出版社 [2]. 管理信息系統(tǒng) 王汝涌 中國政經(jīng)濟出版社 [3]. 數(shù)據(jù)庫系統(tǒng)概論 王珊 高等教育出版社 [3]. 《 Visual FoxPro 程序設計 》 柳青 高等教育出版社 [4]. 《 基礎教程》 徐建平 機械工業(yè)出版社 [5]. 《新編 Visual FoxPro 教程》 單啟成 蘇州大學出版社 [6]. 《新編中文 Visual FoxPro 實用教程》 西北工業(yè)大學出版社 ooling? Cirocco frowned from one picture to the other. Just a lot of little black dots to me. Well, yeah. You can39。t see anything without the parometer. That39。s it right there. She indicated an area with her little % er. Let39。s go take a look. Cirocco rummaged through her locker and found a peagreen shipsuit that smelled as good as any of them. Most of the handy velcro patches were peeling. Her room was at the bottom of the carousel, midway between ladders three and four. She followed Gaby around the curving floor, then pursued her up the ladder. Each rung was a little easier than the last until, at the hub, they were weightless. They pushed off from the slowly rotating ring and drifte d down the central corridor to the science module. SCIMOD in NASAese. It was kept dar k to make the instruments easier to read, and was as colourful as the inside of a juke box. Cirocco liked it. Green lights blinked and banks of television screens hissed white noise through confetti clouds of snow. Ugene Springfield and the Polo sisters floated around the central holo tank. Their f aces were bathed in the red glow. Gaby handed the plates to the puter, punched up an imageintensifying program, and indicated the screen Cirocco should watch. The pictures were sharpened, bined, then rapidly alte rnated. Two miniscule dots blinked, not far from each other. There it is, Gaby said proudly. Small proper motion, but the plates are only twenty three hours apart. Gene called to them. Orbital elements are ing in, he said. Gaby and Cirocco joined him. Cirocco glanced down and saw his arm go possessively around Gaby39。s waist, looked quickly away, noting that the Polo sisters had seen it and were just as careful not to notice. They had all learned to stay out of each other39。s affairs. Saturn sat in the middle of the tank, fat and brassy. Eight blue circles were drawn around it, each larger than the last, each in the equatorial plane of the rings. There was a sphere on each circle, like a single pearl on a string, and beside the pearls were names and numbers: Mnemosyne, Janus, Mimas, Enceladus, Tethys, Dione, Rhea, Titan, and Hyperion. Far beyond those orbits was a tenth one, visibly tilted. That was Iapetus. Phoebe, the most distant, could not be shown on the scale they were using. Now another circle was drawn in. It was an eccentric ellipse, almost tangent to the orbits of Rhea and Hyperion, cutting right across the circle that represented Titan. Cirocco studied it, then straightened. Looking up, she saw deep lines etched on Gaby39。s forehead as her fingers flew over the keyboard. With each pro gram she called up, the numbers on her screen changed. It had a very close call with Rhea about three million years ago, she noted. It39。s safely above Titan39。s orbit, though perturbations must be a factor. It39。s far from stabilized. Meaning what? Cirocco asked. Captured asteroid? Gaby suggested, one eyebrow raised doubtfully. The proximity to the equatorial plane would make that un likely, one of the Polo sisters said. April or August? Cirocco wondered. After eighteen months together she still co