資源簡介
基于項目目的和需求,我們擬采用基于對象的編程模式進行項目開發。整個系統采用C/S方式實現,數據存儲采用文件形式,開發工具選用VS2005。<br>該系統的基本框架如下:<br>1、用戶登錄和注冊<br>2、學生基本信息管理<br>3、課程信息管理<br>4、學生成績管理(B/S)<br>本系統采用控制臺應用程序<br>
代碼片段和文件信息
//--------------------------------------------------------------------
/*
?*?程序名稱:StudentSystemDemo
?*?功能概述:該系統提供對學生基本信息、課程基本信息、學生成績基本信息的管理,
?*???????????可以實現對信息的查詢、添加、修改和刪除。該系統采用文件的方式來
?*???????????儲存和管理數據信息。
?*?制作:
?*?單位:
?*?時間:07-4-15
*/
//--------------------------------------------------------------------
using?System;
using?System.Collections;
using?System.Text;
namespace?StudentSystemDemo
{
????///?
????///?系統啟動類
????///?
????public?class?EntryPoint
????{
????????///?
????????///?程序入口點
????????///?
????????public?static?void?Main()
????????{
????????????FrmWelcome.Show();
????????????while?(true)
????????????{
????????????????FrmLogin?frmLogin?=?new?FrmLogin();
????????????????frmLogin.Show();
????????????????switch?(frmLogin.Result)
????????????????{
????????????????????case?LoginResult.LoginOut:
????????????????????????return;
????????????????????case?LoginResult.LoginValidity:
????????????????????????FrmMain?frmMain?=?new?FrmMain();
????????????????????????frmMain.Show();
????????????????????????return;
????????????????????case?LoginResult.LoginInvalidity:
????????????????????????break;
????????????????????default?:
????????????????????????Console.WriteLine(“無效輸入!“);
????????????????????????break;
????????????????}
????????????}
??????????
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????121??2007-06-28?13:04??StudentSystemDemo\bin\Debug\Courses.txt
?????文件?????????89??2007-06-28?12:58??StudentSystemDemo\bin\Debug\students.txt
?????文件??????40960??2007-08-30?10:26??StudentSystemDemo\bin\Debug\StudentSystemDemo.exe
?????文件?????114176??2007-08-30?10:26??StudentSystemDemo\bin\Debug\StudentSystemDemo.pdb
?????文件???????5632??2007-04-23?08:09??StudentSystemDemo\bin\Debug\StudentSystemDemo.vshost.exe
?????文件????????132??2007-06-28?13:03??StudentSystemDemo\bin\Debug\StuScores.txt
?????目錄??????????0??2007-06-21?19:32??StudentSystemDemo\bin\Debug
?????目錄??????????0??2007-06-25?09:19??StudentSystemDemo\bin
?????文件???????1489??2007-12-16?13:42??StudentSystemDemo\EntryPoint.cs
?????目錄??????????0??2007-04-25?09:41??StudentSystemDemo\obj\Debug\Refactor
?????文件??????40960??2007-08-30?10:26??StudentSystemDemo\obj\Debug\StudentSystemDemo.exe
?????文件?????114176??2007-08-30?10:26??StudentSystemDemo\obj\Debug\StudentSystemDemo.pdb
?????目錄??????????0??2007-04-25?09:41??StudentSystemDemo\obj\Debug\TempPE
?????目錄??????????0??2007-08-30?10:26??StudentSystemDemo\obj\Debug
?????文件????????132??2007-12-16?13:43??StudentSystemDemo\obj\StudentSystemDemo.csproj.FileList.txt
?????目錄??????????0??2007-04-25?09:41??StudentSystemDemo\obj
?????文件???????1181??2007-04-23?08:09??StudentSystemDemo\Properties\AssemblyInfo.cs
?????目錄??????????0??2007-04-25?09:42??StudentSystemDemo\Properties
?????文件???????2385??2007-06-25?09:19??StudentSystemDemo\StudentSystemDemo.csproj
?????文件??????10634??2007-06-21?22:05??StudentSystemDemo\業務類\Course.cs
?????文件??????11930??2007-06-28?12:53??StudentSystemDemo\業務類\Student.cs
?????文件???????5815??2007-12-16?13:44??StudentSystemDemo\業務類\StudentScore.cs
?????目錄??????????0??2007-12-16?13:44??StudentSystemDemo\業務類
?????文件???????1861??2007-06-21?19:06??StudentSystemDemo\公共類\Common.cs
?????目錄??????????0??2007-06-21?19:06??StudentSystemDemo\公共類
?????文件???????2674??2007-12-16?13:44??StudentSystemDemo\文件讀寫類\FileAccess.cs
?????目錄??????????0??2007-12-16?13:44??StudentSystemDemo\文件讀寫類
?????文件???????8380??2007-06-21?22:00??StudentSystemDemo\界面類\FrmCourseInfo.cs
?????文件???????4435??2007-06-22?18:08??StudentSystemDemo\界面類\FrmLogin.cs
?????文件???????3297??2007-08-27?10:45??StudentSystemDemo\界面類\FrmMain.cs
............此處省略8個文件信息
- 上一篇:C#版藍牙測試工具
- 下一篇:C#代碼生成器(生成MVC三層代碼)
評論
共有 條評論