資源簡介
1.單機版的考試系統,支持管理員登陸和學生登陸。
2.管理員可以編輯題庫,出題數量,分值分配,學生編輯,成績查詢打印等功能。
3.學生可以選擇試卷進行答題,有時間限制,提前交卷,成績查詢,答案解析等功能。
4.系統采用Access數據庫。支持各種類型的題目導入。

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Drawing;
using?System.Windows.Forms;
using?System.Reflection;
namespace?Exam
{
????partial?class?AboutBox?:?Form
????{
????????public?AboutBox()
????????{
????????????InitializeComponent();
????????????//??初始化?AboutBox?以顯示程序集信息中包含的產品信息。
????????????//??也可以通過以下方法更改應用程序的程序集信息設置:
????????????//??-?項目->屬性->應用程序->程序集信息
????????????//??-?AssemblyInfo.cs
????????????this.Text?=?String.Format(“關于?{0}“?Assemblytitle);
????????????this.labelProductName.Text?=?AssemblyProduct;
????????????this.labelVersion.Text?=?String.Format(“版本?{0}“?AssemblyVersion);
????????????this.labelCopyright.Text?=?AssemblyCopyright;
????????????this.labelCompanyName.Text?=?AssemblyCompany;
????????????this.textBoxDescription.Text?=?AssemblyDescription;
????????}
????????#region?程序集屬性訪問器
????????public?string?Assemblytitle
????????{
????????????get
????????????{
????????????????//?獲取此程序集上的所有?title?屬性
????????????????object[]?attributes?=?Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblytitleAttribute)?false);
????????????????//?如果至少有一個?title?屬性
????????????????if?(attributes.Length?>?0)
????????????????{
????????????????????//?請選擇第一個屬性
????????????????????AssemblytitleAttribute?titleAttribute?=?(AssemblytitleAttribute)attributes[0];
????????????????????//?如果該屬性為非空字符串,則將其返回
????????????????????if?(titleAttribute.title?!=?““)
????????????????????????return?titleAttribute.title;
????????????????}
????????????????//?如果沒有?title?屬性,或者?title?屬性為一個空字符串,則返回?.exe?的名稱
????????????????return?System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Codebase);
????????????}
????????}
????????public?string?AssemblyVersion
????????{
????????????get
????????????{
????????????????return?Assembly.GetExecutingAssembly().GetName().Version.ToString();
????????????}
????????}
????????public?string?AssemblyDescription
????????{
????????????get
????????????{
????????????????//?獲取此程序集的所有?Description?屬性
????????????????object[]?attributes?=?Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescriptionAttribute)?false);
????????????????//?如果?Description?屬性不存在,則返回一個空字符串
????????????????if?(attributes.Length?==?0)
????????????????????return?““;
????????????????//?如果有?Description?屬性,則返回該屬性的值
????????????????return?((AssemblyDescriptionAttribute)attributes[0]).Description;
????????????}
????????}
????????public?string?AssemblyProduct
????????{
????????????get
????????????{
????????????????//?獲取此程序集上的所有?Product?屬性
????????????????object[]?attributes?=?Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAttribute)?false);
????????????????//?如果?Product?屬性不存在,則返回一個空字符串
????????????????if?(attributes.Length?==?0)
????????????????????return?““;
????????????????//?如果有?Product?屬性,則返回該屬性的值
????????????????return?((AssemblyProductAttribute)attributes[0]).Product;
????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-07-23?09:23??Exam\
?????目錄???????????0??2019-07-23?09:24??Exam\Exam\
?????文件???????10605??2019-06-19?10:51??Exam\Exam\AboutBox.Designer.cs
?????文件????????5447??2019-06-19?11:55??Exam\Exam\AboutBox.cs
?????文件???????49168??2019-06-19?10:51??Exam\Exam\AboutBox.resx
?????文件???????11134??2019-07-01?13:56??Exam\Exam\ba
?????文件???????30364??2019-06-27?15:21??Exam\Exam\DynamicReport.cs
?????文件??????111417??2019-07-01?13:57??Exam\Exam\EventsReport.rdlc
?????文件????????9690??2019-06-27?15:17??Exam\Exam\Exam.csproj
?????文件????????9184??2019-07-23?09:24??Exam\Exam\FrmEventsReport.Designer.cs
?????文件???????12339??2019-07-23?09:24??Exam\Exam\FrmEventsReport.cs
?????文件????????5817??2019-07-23?09:24??Exam\Exam\FrmEventsReport.resx
?????目錄???????????0??2019-06-19?10:08??Exam\Exam\ImageFolder\
?????文件???????25600??2008-11-05?11:36??Exam\Exam\ImageFolder\Thumbs.db
?????文件??????231320??2008-08-19?14:16??Exam\Exam\ImageFolder\加載界面.bmp
?????文件??????681624??2008-08-19?14:16??Exam\Exam\ImageFolder\學生登錄成功窗體.bmp
?????文件????????4088??2008-08-19?14:16??Exam\Exam\ImageFolder\清空按鈕.bmp
?????文件????????4088??2008-08-19?14:16??Exam\Exam\ImageFolder\登錄按鈕.bmp
?????文件??????182656??2008-08-19?14:16??Exam\Exam\ImageFolder\登錄界面背景.bmp
?????文件????????4088??2008-08-19?14:16??Exam\Exam\ImageFolder\退出按鈕.bmp
?????文件?????????466??2008-08-21?15:55??Exam\Exam\Program.cs
?????目錄???????????0??2019-06-24?15:33??Exam\Exam\Properties\
?????文件????????1156??2008-05-29?15:40??Exam\Exam\Properties\AssemblyInfo.cs
?????目錄???????????0??2019-06-26?10:10??Exam\Exam\Properties\DataSources\
?????文件?????????581??2019-06-26?10:05??Exam\Exam\Properties\DataSources\ExamSubject.datasource
?????文件?????????581??2019-06-26?10:10??Exam\Exam\Properties\DataSources\ExamSubject1.datasource
?????文件?????????581??2019-06-26?10:10??Exam\Exam\Properties\DataSources\ExamSubject2.datasource
?????文件?????????585??2019-06-26?10:05??Exam\Exam\Properties\DataSources\ExamSubjectpd.datasource
?????文件?????????585??2019-06-26?10:10??Exam\Exam\Properties\DataSources\ExamSubjectpd1.datasource
?????文件?????????585??2019-06-26?10:10??Exam\Exam\Properties\DataSources\ExamSubjectpd2.datasource
?????文件?????????585??2019-06-26?10:05??Exam\Exam\Properties\DataSources\ExamSubjecttk.datasource
............此處省略83個文件信息
- 上一篇:C# 視頻會議系統
- 下一篇:asp.net教程從入門到精通
評論
共有 條評論