Merge branch 'master' of http://www.scserverddns.top:13000/sc/DyeingComputer
This commit is contained in:
commit
5d681da0e6
3 files changed
+5
-7
No files matched your search
@@ -7,6 +7,7 @@
|
||||
xmlns:local="clr-namespace:DyeingComputer"
|
||||
mc:Ignorable="d"
|
||||
Title="SUNLIGHT 838 b0.0.1 (2024/08/10)"
|
||||
|
||||
Height="720" Width="1280">
|
||||
<Window.Resources>
|
||||
|
||||
|
||||
+1
-1
@@ -13,6 +13,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Data.SQLite;
|
||||
|
||||
namespace DyeingComputer
|
||||
{
|
||||
@@ -24,7 +25,6 @@ namespace DyeingComputer
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
}
|
||||
|
||||
private void RadioButton_toolbar(object sender, RoutedEventArgs e)
|
||||
|
||||
@@ -12,7 +12,7 @@ using System.Data.SQLite;
|
||||
|
||||
namespace DyeingComputer.UserClass
|
||||
{
|
||||
internal class SqliteHelper
|
||||
public class SqliteHelper
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
@@ -23,7 +23,7 @@ namespace DyeingComputer.UserClass
|
||||
/// <summary>
|
||||
/// 数据库地址
|
||||
/// </summary>
|
||||
private readonly string dbFile = "Data Source=" + Environment.CurrentDirectory + "\\DataBase\\COMPUTER.db;Version3";
|
||||
private readonly string dbFile = Environment.CurrentDirectory + "\\DataBase\\COMPUTER.db;Version3";
|
||||
/// <summary>
|
||||
/// 数据库密码
|
||||
/// </summary>
|
||||
@@ -54,9 +54,6 @@ namespace DyeingComputer.UserClass
|
||||
return conn;
|
||||
}
|
||||
|
||||
public void qe()
|
||||
{ }
|
||||
public void SqliteHe()
|
||||
{ OpenConnection(dbFile); }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user