Update README.md and add runtime images

This commit is contained in:
筱傑 2019-06-17 22:02:42 +08:00
parent bb9f12d26b
commit d06b2439aa
16 changed files with 33 additions and 5 deletions

3
.gitignore vendored
View File

@ -3,3 +3,6 @@
################################################################################ ################################################################################
/.vs /.vs
/AuditoriumMS/.vs/AuditoriumMS/v16
/AuditoriumMS/bin/Debug
/AuditoriumMS/obj

View File

@ -1,9 +1,7 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data; using System.Data;
using System.Data.OleDb; using System.Data.OleDb;
using System.IO;
namespace AuditoriumMS namespace AuditoriumMS
{ {
@ -13,7 +11,7 @@ namespace AuditoriumMS
public class Access public class Access
{ {
// 这里改成解决方案目录下那个accdb文件 ↓ // 这里改成解决方案目录下那个accdb文件 ↓
static string DbPath = @"F:\C#\培优礼堂票务管理系统\AuditoriumMS" + @"\DbTicketing.accdb"; static string DbPath = Path.Combine(Environment.CurrentDirectory, "DbTicketing.accdb");
OleDbConnection oleDb = new OleDbConnection(string.Format(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0}", DbPath)); OleDbConnection oleDb = new OleDbConnection(string.Format(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0}", DbPath));
// 私有构造函数,单例实现 // 私有构造函数,单例实现
private Access() private Access()

BIN
Doc/images/0.订票.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
Doc/images/error1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -1,2 +1,29 @@
# AuditoriumMS # AuditoriumMS
礼堂票务管理系统 使用C# WinForm编写 使用MS Access作为数据库 礼堂票务管理系统
使用C# WinForm编写
使用MS Access作为数据库
> 如果在运行时报错:**未在本地计算机上注册Microsoft.ACE.OLEDB.12.0**
> ![](Doc/images/error1.png)
>
> 可能是因为没有安装数据访问组件,需要安装相应版本的数据访问组件
>
> 请在这里下载[Microsoft 2007 Office System 驱动程序](http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe)
以下是程序运行效果图
![](Doc/images/0.订票.png)
![](Doc/images/1.新建票务信息.png)
![](Doc/images/2.票务信息查询.png)
![](Doc/images/3.票务数量信息.png)
![](Doc/images/4.预订信息查询.png)
![](Doc/images/5.票务信息统计.png)
![](Doc/images/6.1预订数量信息统计-预订信息统计.png)
![](Doc/images/6.2预订数量信息统计-学生预订信息统计.png)
![](Doc/images/6.3预订数量信息统计-班级预订信息统计.png)
![](Doc/images/7.预订数量信息统计-图形展示.png)
![](Doc/images/8.班级汇总报表.png)
![](Doc/images/9.修改管理员密码.png)