• 大小: 490KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-10
  • 语言: C#
  • 标签: 考试系统  

资源简介

是一款特别简单的c#在线考试系统,运用了3层架构

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using MySchoolEvent;

namespace MyOwnExam
{
    public partial class AddTeacher : Form
    {
        public AddTeacher()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {

            UserEvent userEvent = new UserEvent();
            if (userEvent.addTeacher(userName.Text userPwd.Text))
            {
                MessageBox.Show(“注册成功“);
                this.Close();
            }
            else
            {
                MessageBox.Show(“注册失败“);
            }
        }

        private void button2_Click(object sender EventArgs e)
        {
            this.Close();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-06-20 10:27  MyOwnExam9\
     目录           0  2013-06-20 10:27  MyOwnExam9\MyOwnExam\
     文件        4758  2013-06-10 09:44  MyOwnExam9\MyOwnExam.sln
     文件       76800  2013-06-13 12:10  MyOwnExam9\MyOwnExam.suo
     文件         925  2013-06-13 09:01  MyOwnExam9\MyOwnExam\AddTeacher.cs
     文件        5730  2013-06-13 09:01  MyOwnExam9\MyOwnExam\AddTeacher.Designer.cs
     文件        5817  2013-06-13 09:01  MyOwnExam9\MyOwnExam\AddTeacher.resx
     文件        1539  2013-06-13 10:39  MyOwnExam9\MyOwnExam\AddTest.cs
     文件       10286  2013-06-13 09:38  MyOwnExam9\MyOwnExam\AddTest.Designer.cs
     文件        5817  2013-06-13 09:38  MyOwnExam9\MyOwnExam\AddTest.resx
     目录           0  2013-06-20 10:27  MyOwnExam9\MyOwnExam\bin\
     目录           0  2013-06-20 10:27  MyOwnExam9\MyOwnExam\bin\Debug\
     文件       81408  2013-06-13 11:36  MyOwnExam9\MyOwnExam\bin\Debug\MyOwnExam.exe
     文件       93696  2013-06-13 11:36  MyOwnExam9\MyOwnExam\bin\Debug\MyOwnExam.pdb
     文件       11600  2013-06-13 11:36  MyOwnExam9\MyOwnExam\bin\Debug\MyOwnExam.vshost.exe
     文件         490  2010-03-17 22:39  MyOwnExam9\MyOwnExam\bin\Debug\MyOwnExam.vshost.exe.manifest
     文件        8192  2013-06-13 10:17  MyOwnExam9\MyOwnExam\bin\Debug\MySchoolAction.dll
     文件       24064  2013-06-13 10:17  MyOwnExam9\MyOwnExam\bin\Debug\MySchoolAction.pdb
     文件        5632  2013-06-13 10:17  MyOwnExam9\MyOwnExam\bin\Debug\MySchoolEvent.dll
     文件       19968  2013-06-13 10:17  MyOwnExam9\MyOwnExam\bin\Debug\MySchoolEvent.pdb
     文件        6656  2013-06-13 10:17  MyOwnExam9\MyOwnExam\bin\Debug\MySchoolModel.dll
     文件       36352  2013-06-13 10:17  MyOwnExam9\MyOwnExam\bin\Debug\MySchoolModel.pdb
     目录           0  2013-06-13 12:11  MyOwnExam9\MyOwnExam\bin\Release\
     文件           1  2013-06-10 09:40  MyOwnExam9\MyOwnExam\ClassDiagram1.cd
     文件         424  2013-05-27 09:16  MyOwnExam9\MyOwnExam\DBHelper.cs
     文件        2532  2013-06-13 10:39  MyOwnExam9\MyOwnExam\Login.cs
     文件        9550  2013-06-13 10:39  MyOwnExam9\MyOwnExam\Login.Designer.cs
     文件        6216  2013-06-13 10:39  MyOwnExam9\MyOwnExam\Login.resx
     文件        4703  2013-06-13 08:24  MyOwnExam9\MyOwnExam\LoginForm.cs
     文件        7259  2013-06-06 12:34  MyOwnExam9\MyOwnExam\LoginForm.Designer.cs
     文件        5817  2013-06-06 12:34  MyOwnExam9\MyOwnExam\LoginForm.resx
............此处省略107个文件信息

评论

共有 条评论