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"
|
xmlns:local="clr-namespace:DyeingComputer"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="SUNLIGHT 838 b0.0.1 (2024/08/10)"
|
Title="SUNLIGHT 838 b0.0.1 (2024/08/10)"
|
||||||
|
|
||||||
Height="720" Width="1280">
|
Height="720" Width="1280">
|
||||||
<Window.Resources>
|
<Window.Resources>
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -13,6 +13,7 @@ using System.Windows.Media;
|
|||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
using System.Data.SQLite;
|
||||||
|
|
||||||
namespace DyeingComputer
|
namespace DyeingComputer
|
||||||
{
|
{
|
||||||
@@ -24,7 +25,6 @@ namespace DyeingComputer
|
|||||||
public MainWindow()
|
public MainWindow()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RadioButton_toolbar(object sender, RoutedEventArgs e)
|
private void RadioButton_toolbar(object sender, RoutedEventArgs e)
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using System.Data.SQLite;
|
|||||||
|
|
||||||
namespace DyeingComputer.UserClass
|
namespace DyeingComputer.UserClass
|
||||||
{
|
{
|
||||||
internal class SqliteHelper
|
public class SqliteHelper
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -23,7 +23,7 @@ namespace DyeingComputer.UserClass
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 数据库地址
|
/// 数据库地址
|
||||||
/// </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>
|
||||||
/// 数据库密码
|
/// 数据库密码
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -54,9 +54,6 @@ namespace DyeingComputer.UserClass
|
|||||||
return conn;
|
return conn;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void qe()
|
|
||||||
{ }
|
|
||||||
public void SqliteHe()
|
|
||||||
{ OpenConnection(dbFile); }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user