资源简介
是图形界面版的考试系统,没有数据库,适合小白和学生进行参考,是之前做的一个实训项目,可以直接运行,编译器为vs2012

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{ //倒计时
int jiajia = 1800;
//多选题定义字段:
private string[] ti_mu = new string[4]; //存放题目
private string[] Item = new string[45]; //存放ABCD
private string[] Answer = new string[4]; //存放题目的答案如AC
private int s;
//单选题定义字段:
private string[] ti_mu2 = new string[4]; //存放题目
private string[] Item2 = new string[45]; //存放ABCD
//存放题目的答案,123,4分别代表ABCD四个选项
private int[] Answer2 = new int[4];
private int s2; //题号
//单选第二题定义字段:
private string[] ti_mu3 = new string[4]; //存放题目
private string[] Item3 = new string[4 5]; //存放ABCD
//存放题目的答案,123,4分别代表ABCD四个选项
private int[] Answer3 = new int[4];
private int s3; //题号
TimeSpan dtTo = new TimeSpan(0 50 0); //设置开始时间
public Form1()
{
InitializeComponent();
}
private void chu_ti()
{
label1.Text = ti_mu[s];
checkBox1.Text = Item[s 1];
checkBox2.Text = Item[s 2];
checkBox3.Text = Item[s 3];
checkBox4.Text = Item[s 4];
}
private void chu_ti2()
{
label2.Text = ti_mu2[s2];
radioButton1.Text = Item2[s2 1];
radioButton2.Text = Item2[s2 2];
radioButton3.Text = Item2[s2 3];
radioButton4.Text = Item2[s2 4];
}
private void chu_ti3()
{
label3.Text = ti_mu3[s3];
radioButton5.Text = Item3[s3 1];
radioButton6.Text = Item3[s3 2];
radioButton7.Text = Item3[s3 3];
radioButton8.Text = Item3[s3 4];
}
private void Form1_Load(object sender EventArgs e)
{
//倒计时:
timer1.Interval = 1000;
this.timer1.Enabled = true;
this.timer1.Start();
//多选题的题目:
ti_mu[1] = “下列关于C#语言的基本语法,下列哪些说法是正确的?“;
ti_mu[2] = “C#的合法注释是()“;
ti_mu[3] = “窗体Form1的Text属性为frm,则其load事件名为()“;
Item[1 1] = “A.C#语言使用using关键字来引用.NET预定义的名字空间;“;
Item[1 2] = “B.用C#编写的程序中,Main函数是唯一允许的全局函数;“;
Item[1 3] = “C.C#语言中使用的名称严格区分大小写;“;
Item[1 4] = “D.C#中一条语句必须写在一行内;“;
Item[2 1] = “A./*this is a C program/*“;
Item[2 2] = “B.//this is a C program“;
Item[2 3] = “C./this is a C program/“;
Item[2 4] = “D./*this is a C program*/“;
Item[3 1] = “A.From_Load“;
Item[3 2] = “B.From1_Load“;
Item[3 3] = “C.Frm_Load“;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-06-17 10:59 c#窗口化考试系统1\
目录 0 2019-06-05 22:52 c#窗口化考试系统1\WindowsFormsApplication2\
文件 187 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\App.config
目录 0 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\bin\
目录 0 2019-06-06 01:28 c#窗口化考试系统1\WindowsFormsApplication2\bin\Debug\
文件 17408 2019-06-21 17:35 c#窗口化考试系统1\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe
文件 187 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe.config
文件 38400 2019-06-21 17:35 c#窗口化考试系统1\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.pdb
文件 22984 2019-06-21 17:36 c#窗口化考试系统1\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe
文件 187 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.config
文件 490 2018-04-12 07:35 c#窗口化考试系统1\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.manifest
文件 8962 2019-06-06 01:28 c#窗口化考试系统1\WindowsFormsApplication2\Form1.cs
文件 16651 2019-06-06 01:28 c#窗口化考试系统1\WindowsFormsApplication2\Form1.Designer.cs
文件 6011 2019-06-06 01:28 c#窗口化考试系统1\WindowsFormsApplication2\Form1.resx
目录 0 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\obj\
目录 0 2019-06-21 17:35 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\
文件 1464 2019-06-05 22:52 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\DesignTimeResolveAssemblyReferences.cache
文件 7128 2019-06-17 10:59 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 0 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
文件 0 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
文件 0 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
目录 0 2019-06-05 21:51 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\TempPE\
文件 1256 2019-06-05 22:52 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.csproj.FileListAbsolute.txt
文件 975 2019-06-05 22:49 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.csproj.GenerateResource.Cache
文件 17408 2019-06-21 17:35 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.exe
文件 180 2019-06-06 01:28 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.Form1.resources
文件 38400 2019-06-21 17:35 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.pdb
文件 180 2019-06-06 01:28 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\WindowsFormsApplication2.Properties.Resources.resources
文件 3342 2019-06-21 17:36 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\考试系统2.csproj.FileListAbsolute.txt
文件 975 2019-06-06 01:28 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\考试系统2.csproj.GenerateResource.Cache
文件 2209 2019-06-17 10:57 c#窗口化考试系统1\WindowsFormsApplication2\obj\Debug\考试系统2.csprojResolveAssemblyReference.cache
............此处省略96个文件信息
相关资源
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
- C#自定义控件
评论
共有 条评论