资源简介
用c#实现的教室/会议室预定系统, 数据存在本地txt文件
代码片段和文件信息
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 System.IO;
using System.Data.SqlClient;
using System.Security.AccessControl;
namespace chooseRoom
{
public partial class Form_index : Form
{
bool exits = false;
string userid = ““;
string filename = ““;
public Form_index()
{
InitializeComponent();
}
private void Form_index_Load(object sender EventArgs e)
{
readAllFile();
List initTimeList = new List();
initTimeList.Add(“...“);
initTimeList.Add(“08:00-10:00“);
initTimeList.Add(“10:00-12:00“);
initTimeList.Add(“12:00-14:00“);
initTimeList.Add(“14:00-16:00“);
initTimeList.Add(“16:00-18:00“);
initTimeList.A
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-11-08 21:02 cs_roomChoose\
目录 0 2015-11-08 18:50 cs_roomChoose\chooseRoom\
目录 0 2015-11-08 19:07 cs_roomChoose\chooseRoom\chooseRoom\
文件 9770 2015-11-08 20:59 cs_roomChoose\chooseRoom\chooseRoom\Form_index.Designer.cs
文件 10241 2015-11-08 20:59 cs_roomChoose\chooseRoom\chooseRoom\Form_index.cs
文件 5817 2015-11-08 20:59 cs_roomChoose\chooseRoom\chooseRoom\Form_index.resx
文件 507 2015-11-08 18:51 cs_roomChoose\chooseRoom\chooseRoom\Program.cs
目录 0 2015-11-08 18:50 cs_roomChoose\chooseRoom\chooseRoom\Properties\
文件 1450 2015-11-08 18:50 cs_roomChoose\chooseRoom\chooseRoom\Properties\AssemblyInfo.cs
文件 2850 2015-11-08 18:50 cs_roomChoose\chooseRoom\chooseRoom\Properties\Resources.Designer.cs
文件 5612 2015-11-08 18:50 cs_roomChoose\chooseRoom\chooseRoom\Properties\Resources.resx
文件 1097 2015-11-08 18:50 cs_roomChoose\chooseRoom\chooseRoom\Properties\Settings.Designer.cs
文件 249 2015-11-08 18:50 cs_roomChoose\chooseRoom\chooseRoom\Properties\Settings.settings
目录 0 2015-11-08 18:51 cs_roomChoose\chooseRoom\chooseRoom\bin\
目录 0 2015-11-08 20:55 cs_roomChoose\chooseRoom\chooseRoom\bin\Debug\
文件 42 2015-11-08 20:53 cs_roomChoose\chooseRoom\chooseRoom\bin\Debug\2015110839535.crl
文件 33 2015-11-08 20:55 cs_roomChoose\chooseRoom\chooseRoom\bin\Debug\201511087大学生活动中心.crl
文件 15360 2015-11-08 20:59 cs_roomChoose\chooseRoom\chooseRoom\bin\Debug\chooseRoom.exe
文件 32256 2015-11-08 20:59 cs_roomChoose\chooseRoom\chooseRoom\bin\Debug\chooseRoom.pdb
文件 11600 2015-11-08 21:01 cs_roomChoose\chooseRoom\chooseRoom\bin\Debug\chooseRoom.vshost.exe
文件 109 2015-11-08 19:10 cs_roomChoose\chooseRoom\chooseRoom\bin\Debug\roomItem.txt
目录 0 2015-11-08 21:01 cs_roomChoose\chooseRoom\chooseRoom\bin\Release\
文件 14848 2015-11-08 21:01 cs_roomChoose\chooseRoom\chooseRoom\bin\Release\chooseRoom.exe
文件 26112 2015-11-08 21:01 cs_roomChoose\chooseRoom\chooseRoom\bin\Release\chooseRoom.pdb
文件 11600 2015-11-08 21:01 cs_roomChoose\chooseRoom\chooseRoom\bin\Release\chooseRoom.vshost.exe
文件 490 2012-06-06 02:06 cs_roomChoose\chooseRoom\chooseRoom\bin\Release\chooseRoom.vshost.exe.manifest
文件 3704 2015-11-08 18:52 cs_roomChoose\chooseRoom\chooseRoom\chooseRoom.csproj
目录 0 2015-11-08 18:50 cs_roomChoose\chooseRoom\chooseRoom\obj\
目录 0 2015-11-08 21:01 cs_roomChoose\chooseRoom\chooseRoom\obj\x86\
目录 0 2015-11-08 20:59 cs_roomChoose\chooseRoom\chooseRoom\obj\x86\Debug\
文件 2867 2015-11-08 18:50 cs_roomChoose\chooseRoom\chooseRoom\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
............此处省略28个文件信息
- 上一篇:提供C#调用系统API函数弹出或收起光驱
- 下一篇:C#使用Hook进行改键
评论
共有 条评论