91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.28MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-01
  • 語言: C#
  • 標(biāo)簽: 收銀系統(tǒng)??

資源簡介

商店收銀系統(tǒng)完整代碼,修正部分bug,基因.net4.0編寫

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;

namespace?收銀系統(tǒng)
{
????///?
????///?用于存放常量和默認(rèn)各種文件路徑
????///?

????class?Config
????{
????????public?static?string?主數(shù)據(jù)庫連接串;//主數(shù)據(jù)庫連接字串,不存在時不創(chuàng)建
????????public?static?string?主數(shù)據(jù)庫連接串創(chuàng)建;//主數(shù)據(jù)庫連接字串,不存在時創(chuàng)建
????????public?static?string?主數(shù)據(jù)庫路徑;//主數(shù)據(jù)庫路徑
????????
????????///?
????????///?靜態(tài)構(gòu)造函數(shù)用于初始化任何靜態(tài)數(shù)據(jù),或執(zhí)行僅需執(zhí)行一次的特定操作。?將在創(chuàng)建第一個實例或引用任何靜態(tài)成員之前自動調(diào)用靜態(tài)構(gòu)造函數(shù)。
????????///?

????????static?Config()?
????????{
????????????//初始化?
????????????主數(shù)據(jù)庫連接串?=?“Data?Source=.\\data.db;FailIfMissing=True;“;//數(shù)據(jù)庫不存在時不創(chuàng)建FailIfMissing=True;
????????????主數(shù)據(jù)庫連接串創(chuàng)建?=?“Data?Source=.\\data.db“;//數(shù)據(jù)庫不存在時創(chuàng)建,用于啟動時創(chuàng)建和建表
????????????主數(shù)據(jù)庫路徑?=?“.\\data.db“;
????????}

????????///?
????????///?獲取備份路徑
????????///?

????????public?static?string?GetBackupPath()
????????{
????????????//用于取最后的磁盤分區(qū)名稱
????????????string?driveName?=?null;

????????????foreach?(DriveInfo?dr?in?DriveInfo.GetDrives())
????????????{
????????????????if?(dr.DriveType?==?DriveType.Fixed)
????????????????{
????????????????????driveName?=?dr.Name;
????????????????}
????????????}

????????????if?(driveName?==?null?||?driveName.Length?==?0)
????????????{
????????????????throw?new?ArgumentNullException(“driveName“);
????????????}

????????????string?backupPath?=?driveName?+?“EasyBackups“;

????????????if?(!Directory.Exists(backupPath))
????????????{
????????????????Directory.CreateDirectory(backupPath);//創(chuàng)建備份文件夾
????????????}

????????????return?backupPath;
????????}

????}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????100??2018-06-14?00:35??收銀系統(tǒng)\.vs\收銀系統(tǒng)\DesignTimeBuild\.dtbcache

????..A..H.?????96256??2018-06-14?00:35??收銀系統(tǒng)\.vs\收銀系統(tǒng)\v15\.suo

?????文件??????????0??2018-05-14?23:26??收銀系統(tǒng)\.vs\收銀系統(tǒng)\v15\Server\sqlite3\db.lock

?????文件?????970752??2018-06-14?00:22??收銀系統(tǒng)\.vs\收銀系統(tǒng)\v15\Server\sqlite3\storage.ide

?????文件??????32768??2018-06-13?23:44??收銀系統(tǒng)\.vs\收銀系統(tǒng)\v15\Server\sqlite3\storage.ide-shm

?????文件????4148872??2018-06-14?00:35??收銀系統(tǒng)\.vs\收銀系統(tǒng)\v15\Server\sqlite3\storage.ide-wal

?????文件?????????28??2018-07-17?21:45??收銀系統(tǒng)\BUG.txt

?????文件????????144??2018-05-14?11:49??收銀系統(tǒng)\收銀系統(tǒng)\app.config

?????文件????1531904??2018-07-17?22:10??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\data.db

?????文件????2056192??2018-07-17?21:52??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\data1.db

?????文件????1293824??2018-03-25?12:22??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\EPPlus.dll

?????文件????1389056??2018-03-02?02:26??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\System.Data.SQLite.dll

?????文件?????284160??2018-07-17?21:50??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\收銀系統(tǒng).exe

?????文件????????144??2018-05-14?11:49??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\收銀系統(tǒng).exe.config

?????文件?????484864??2018-07-17?21:50??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\收銀系統(tǒng).pdb

?????文件??????11600??2018-07-17?21:52??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\收銀系統(tǒng).vshost.exe

?????文件????????144??2018-05-14?11:49??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\收銀系統(tǒng).vshost.exe.config

?????文件????????490??2010-03-17?22:39??收銀系統(tǒng)\收銀系統(tǒng)\bin\Release\收銀系統(tǒng).vshost.exe.manifest

?????文件???????2107??2018-07-17?16:01??收銀系統(tǒng)\收銀系統(tǒng)\Config.cs

?????文件??????11044??2018-07-17?16:15??收銀系統(tǒng)\收銀系統(tǒng)\Data\SQLHelper.cs

?????文件???????9438??2018-07-17?15:02??收銀系統(tǒng)\收銀系統(tǒng)\Data\會員資料.cs

?????文件???????5794??2018-07-17?15:02??收銀系統(tǒng)\收銀系統(tǒng)\Data\單品特價.cs

?????文件??????12670??2018-07-17?15:02??收銀系統(tǒng)\收銀系統(tǒng)\Data\商品資料.cs

?????文件??????12115??2018-07-16?18:08??收銀系統(tǒng)\收銀系統(tǒng)\Data\導(dǎo)出和導(dǎo)入.cs

?????文件???????4128??2018-07-17?15:02??收銀系統(tǒng)\收銀系統(tǒng)\Data\掛單.cs

?????文件???????4247??2018-07-17?16:00??收銀系統(tǒng)\收銀系統(tǒng)\Data\數(shù)據(jù)庫管理.cs

?????文件???????4012??2018-06-11?14:59??收銀系統(tǒng)\收銀系統(tǒng)\Data\模型\數(shù)據(jù)模型.cs

?????文件???????1383??2018-07-17?15:02??收銀系統(tǒng)\收銀系統(tǒng)\Data\用戶.cs

?????文件???????3995??2018-07-17?15:02??收銀系統(tǒng)\收銀系統(tǒng)\Data\類別積分.cs

?????文件???????3825??2018-07-17?16:45??收銀系統(tǒng)\收銀系統(tǒng)\Data\統(tǒng)計.cs

............此處省略254個文件信息

評論

共有 條評論