diff --git a/App.xaml b/App.xaml
index 95ef6d0..2afcda8 100644
--- a/App.xaml
+++ b/App.xaml
@@ -6,6 +6,8 @@
xmlns:baseWindow="clr-namespace:SparkClient.Views.BaseWindow"
xmlns:baseWindow1="clr-namespace:SparkClient.ViewModel.BaseWindow"
xmlns:views="clr-namespace:SparkClient.Views"
+ xmlns:configuration="clr-namespace:SparkClient.ViewModel.Configuration"
+ xmlns:configuration1="clr-namespace:SparkClient.Views.Configuration"
StartupUri="MainWindow.xaml">
@@ -28,6 +30,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Language/zh_CN.xaml b/Language/zh_CN.xaml
index a0c766a..c41e720 100644
--- a/Language/zh_CN.xaml
+++ b/Language/zh_CN.xaml
@@ -20,6 +20,11 @@
定级配置
切工仪配置
+
+ 删除配置
+ 导入配置
+
+
是否退出程序?
是否退出
是
diff --git a/MainWindow.xaml b/MainWindow.xaml
index 7416db7..46e9de5 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -15,10 +15,10 @@
d:DesignWidth="1400"
MinHeight="400"
MinWidth="800"
- WindowState="Maximized"
+
Loaded="MainWindow_OnLoaded"
Background="{DynamicResource SecondaryRegionBrush}">
-
+
@@ -50,7 +50,9 @@
-
+
+
+
@@ -59,7 +61,7 @@
-
+
@@ -81,7 +83,7 @@
VerticalAlignment="Center" HorizontalAlignment="Center" Margin="20 0 20 0" />
-
@@ -94,11 +96,16 @@
-
+
-
+
+
-
+
+
+
+
+
+
+
diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs
index 8946d4d..ea6a3d4 100644
--- a/MainWindow.xaml.cs
+++ b/MainWindow.xaml.cs
@@ -3,6 +3,7 @@ using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
+using HandyControl.Controls;
using HandyControl.Tools;
using log4net;
using log4net.Config;
@@ -23,7 +24,7 @@ public partial class MainWindow
{
InitializeComponent();
- Logger.Info("Application started==================");
+ Logger.Info("Application started");
}
protected override void OnContentRendered(EventArgs e)
@@ -32,14 +33,14 @@ public partial class MainWindow
MainViewModel mainVM = new MainViewModel();
DataContext = mainVM;
WindowManager.mainViewModel = mainVM;
- Logger.Debug("OnContentRendered -------");
+ Logger.InfoFormat("窗口加载:"+mainVM.GetType());
}
private void MainWindow_OnLoaded(object sender, RoutedEventArgs e)
{
//初始化
- ConfigHelper.Instance.SetLang("en");
+ // ConfigHelper.Instance.SetLang("en");
}
#region 重写窗体操作按钮
@@ -86,6 +87,23 @@ public partial class MainWindow
}
}
- #endregion
+ private void UIElement_OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
+ {
+ if (e.LeftButton == MouseButtonState.Pressed)
+ {
+ try
+ {
+ this.DragMove();
+ }
+ catch (InvalidOperationException ex)
+ {
+
+ }
+ }
+ }
+ #endregion
+
+
+
}
\ No newline at end of file
diff --git a/Model/Helper/MultilingualHelper.cs b/Model/Helper/MultilingualHelper.cs
index b5a93bb..e223a2a 100644
--- a/Model/Helper/MultilingualHelper.cs
+++ b/Model/Helper/MultilingualHelper.cs
@@ -1,4 +1,5 @@
using System.Windows;
+using HandyControl.Tools;
namespace SparkClient.Model.Helper;
@@ -16,4 +17,50 @@ public class MultilingualHelper
}
return (string)result;
}
+
+ public static void setLanguage(string language)
+ {
+ LoadResources(language);
+ ConfigHelper.Instance.SetLang(language);
+ }
+
+ private static void LoadResources(string resourceKey)
+ {
+ // 获取当前应用程序的App实例
+ var app = (App)Application.Current;
+
+ // 根据传入的resourceKey获取对应的资源字典
+ var resourceDictionary = app.Resources[resourceKey] as ResourceDictionary;
+
+ if (resourceDictionary!= null)
+ {
+ // 获取资源字典的源文件路径(即资源文件的位置)
+ string requestedCulture = resourceDictionary.Source.OriginalString;
+
+ // 在已合并的资源字典中查找对应的资源字典
+ var mergedDictionary = Application.Current.Resources.MergedDictionaries.FirstOrDefault(d => d.Source.OriginalString.Equals(requestedCulture));
+
+ if (mergedDictionary!= null)
+ {
+ // 先移除当前对应的资源字典
+ Application.Current.Resources.MergedDictionaries.Remove(mergedDictionary);
+
+ // 再添加回去,以更新资源
+ Application.Current.Resources.MergedDictionaries.Add(mergedDictionary);
+ }
+ else
+ {
+ // 如果未找到对应的资源字典,给出提示信息
+ MessageBox.Show($"未找到与 {resourceKey} 对应的资源字典,请检查资源配置。");
+ }
+ }
+ else
+ {
+ // 如果未找到对应的资源字典(根据传入的resourceKey),给出提示信息
+ MessageBox.Show($"未找到对应 {resourceKey} 的资源字典,请检查App.xaml中的资源配置。");
+ }
+
+
+ }
+
}
\ No newline at end of file
diff --git a/Resource/Document/Helper.pdf b/Resource/Document/Helper.pdf
new file mode 100644
index 0000000..271a04a
Binary files /dev/null and b/Resource/Document/Helper.pdf differ
diff --git a/Resource/Images/Algor_Def@3x.png b/Resource/Images/Algor_Def@3x.png
new file mode 100644
index 0000000..f62a545
Binary files /dev/null and b/Resource/Images/Algor_Def@3x.png differ
diff --git a/Resource/Images/Algor_Sel@3x.png b/Resource/Images/Algor_Sel@3x.png
new file mode 100644
index 0000000..79b4e62
Binary files /dev/null and b/Resource/Images/Algor_Sel@3x.png differ
diff --git a/Resource/Images/Cut_Def@3x.png b/Resource/Images/Cut_Def@3x.png
new file mode 100644
index 0000000..4b36580
Binary files /dev/null and b/Resource/Images/Cut_Def@3x.png differ
diff --git a/Resource/Images/Cut_Sel@3x.png b/Resource/Images/Cut_Sel@3x.png
new file mode 100644
index 0000000..acb1ac8
Binary files /dev/null and b/Resource/Images/Cut_Sel@3x.png differ
diff --git a/Resource/Images/Level_Def@3x.png b/Resource/Images/Level_Def@3x.png
new file mode 100644
index 0000000..fbb9fbb
Binary files /dev/null and b/Resource/Images/Level_Def@3x.png differ
diff --git a/Resource/Images/Level_Sel@3x.png b/Resource/Images/Level_Sel@3x.png
new file mode 100644
index 0000000..108c4ca
Binary files /dev/null and b/Resource/Images/Level_Sel@3x.png differ
diff --git a/Resource/Images/diamtest_3x.png b/Resource/Images/diamtest_3x.png
new file mode 100644
index 0000000..1e83403
Binary files /dev/null and b/Resource/Images/diamtest_3x.png differ
diff --git a/SparkClient.csproj b/SparkClient.csproj
index b6fba99..8b02262 100644
--- a/SparkClient.csproj
+++ b/SparkClient.csproj
@@ -15,6 +15,7 @@
+
@@ -35,6 +36,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Always
+
diff --git a/SparkClient.sln.DotSettings.user b/SparkClient.sln.DotSettings.user
index 1df1a09..dfcf03e 100644
--- a/SparkClient.sln.DotSettings.user
+++ b/SparkClient.sln.DotSettings.user
@@ -1,4 +1,5 @@
+ ForceIncluded
ForceIncluded
ForceIncluded
ForceIncluded
@@ -6,6 +7,8 @@
ForceIncluded
ForceIncluded
ForceIncluded
+ ForceIncluded
ForceIncluded
ForceIncluded
+ ForceIncluded
ForceIncluded
\ No newline at end of file
diff --git a/ViewModel/BaseWindow/BaseControlVM.cs b/ViewModel/BaseWindow/BaseControlVM.cs
index 3c2e4f7..d127296 100644
--- a/ViewModel/BaseWindow/BaseControlVM.cs
+++ b/ViewModel/BaseWindow/BaseControlVM.cs
@@ -22,10 +22,16 @@ public class BaseControlVM : BaseViewModel
public object Content { get; }
public ICommand CloseCommand { get; }
+ public BaseControlVM(BaseViewModel vm, string windowTitle)
+ {
+ Content = vm;
+ WindowTitle = windowTitle;
+ CloseCommand = new RelayCommand(CloseVM);
+ }
+
public BaseControlVM(BaseViewModel vm)
{
Content = vm;
-
CloseCommand = new RelayCommand(CloseVM);
}
diff --git a/ViewModel/BaseWindow/HomeWindowVM.cs b/ViewModel/BaseWindow/HomeWindowVM.cs
index a97c629..4dfac6c 100644
--- a/ViewModel/BaseWindow/HomeWindowVM.cs
+++ b/ViewModel/BaseWindow/HomeWindowVM.cs
@@ -2,20 +2,33 @@
using System.Windows.Controls;
using System.Windows.Input;
using HandyControl.Controls;
+using SparkClient.Model.Helper;
+using SparkClient.ViewModel.Configuration;
+
namespace SparkClient.ViewModel.BaseWindow;
public class HomeWindowVM : BaseViewModel
{
public ICommand ShowHelperPageCommand { get; }
+
+ public ICommand ShowConfigPageCommand { get; }
public HomeWindowVM()
{
ShowHelperPageCommand = new RelayCommand(ShowHelperPage);
+ ShowConfigPageCommand = new RelayCommand(ShowConfigPage);
}
public void ShowHelperPage(object parameter)
{
- BaseControlVM vm = new BaseControlVM(new HelperPageVM());
+ BaseControlVM vm = new BaseControlVM(new HelperPageVM(), MultilingualHelper.getString("Help"));
+ WindowManager.mainViewModel.Content = vm;
+ WindowManager.openContent.Add(vm);
+ }
+
+ public void ShowConfigPage(object parameter)
+ {
+ ConfigMenuPageVM vm = new ConfigMenuPageVM();
WindowManager.mainViewModel.Content = vm;
WindowManager.openContent.Add(vm);
}
diff --git a/ViewModel/BaseWindow/MainViewModel.cs b/ViewModel/BaseWindow/MainViewModel.cs
index 06ca3d2..f24ceb6 100644
--- a/ViewModel/BaseWindow/MainViewModel.cs
+++ b/ViewModel/BaseWindow/MainViewModel.cs
@@ -1,3 +1,6 @@
+using System.Windows.Input;
+using SparkClient.Model.Helper;
+
namespace SparkClient.ViewModel.BaseWindow;
public class MainViewModel : BaseViewModel
@@ -6,9 +9,25 @@ public class MainViewModel : BaseViewModel
public object Content { get { return _content; } set { _content = value; OnPropertyChanged("Content"); } }
+ public ICommand SetZhcnLanguage { get; }
+ public ICommand SetEnLanguage { get; }
+
public MainViewModel()
{
Content = new HomeWindowVM();
WindowManager.openContent.Add(Content);
+
+ SetZhcnLanguage = new RelayCommand(setZhLanguage);
+ SetEnLanguage = new RelayCommand(setEnLanguage);
+ }
+
+ public void setZhLanguage(object parameter)
+ {
+ MultilingualHelper.setLanguage("zh-cn");
+ }
+
+ public void setEnLanguage(object parameter)
+ {
+ MultilingualHelper.setLanguage("en");
}
}
\ No newline at end of file
diff --git a/ViewModel/Configuration/AlgorithmConfigVM.cs b/ViewModel/Configuration/AlgorithmConfigVM.cs
new file mode 100644
index 0000000..5726ef2
--- /dev/null
+++ b/ViewModel/Configuration/AlgorithmConfigVM.cs
@@ -0,0 +1,6 @@
+namespace SparkClient.ViewModel.Configuration;
+
+public class AlgorithmConfigVM : BaseViewModel
+{
+
+}
\ No newline at end of file
diff --git a/ViewModel/Configuration/ConfigMenuPageVM.cs b/ViewModel/Configuration/ConfigMenuPageVM.cs
new file mode 100644
index 0000000..49f1f2c
--- /dev/null
+++ b/ViewModel/Configuration/ConfigMenuPageVM.cs
@@ -0,0 +1,47 @@
+using System.Windows.Input;
+using SparkClient.Model.Helper;
+using SparkClient.ViewModel.BaseWindow;
+
+namespace SparkClient.ViewModel.Configuration;
+
+public class ConfigMenuPageVM : BaseViewModel
+{
+ public ICommand CloseCommand { get; }
+
+ public ICommand LevelConfigCommand { get; }
+ public ICommand AlgorithmConfigCommand { get; }
+ public ICommand CutConfigCommand { get; }
+ public ConfigMenuPageVM()
+ {
+ CloseCommand = new RelayCommand(CloseVM);
+ LevelConfigCommand = new RelayCommand(LevelConfig);
+ AlgorithmConfigCommand = new RelayCommand(AlgorithmConfig);
+ CutConfigCommand = new RelayCommand(CutConfig);
+ }
+
+
+ public void CloseVM(object parameter)
+ {
+ WindowManager.mainViewModel.Content = WindowManager.PreviousVM();
+ }
+
+ public void LevelConfig(object parameter)
+ {
+ BaseControlVM vm = new BaseControlVM(new LevelConfigVM(), MultilingualHelper.getString("LevelConfig"));
+ WindowManager.mainViewModel.Content = vm;
+ WindowManager.openContent.Add(vm);
+ }
+ public void AlgorithmConfig(object parameter)
+ {
+ BaseControlVM vm = new BaseControlVM(new AlgorithmConfigVM(), MultilingualHelper.getString("AlgorithmConfig"));
+ WindowManager.mainViewModel.Content = vm;
+ WindowManager.openContent.Add(vm);
+ }
+ public void CutConfig(object parameter)
+ {
+ BaseControlVM vm = new BaseControlVM(new CutConfigVM(), MultilingualHelper.getString("CutConfig"));
+ WindowManager.mainViewModel.Content = vm;
+ WindowManager.openContent.Add(vm);
+ }
+
+}
\ No newline at end of file
diff --git a/ViewModel/Configuration/CutConfigVM.cs b/ViewModel/Configuration/CutConfigVM.cs
new file mode 100644
index 0000000..923d95a
--- /dev/null
+++ b/ViewModel/Configuration/CutConfigVM.cs
@@ -0,0 +1,6 @@
+namespace SparkClient.ViewModel.Configuration;
+
+public class CutConfigVM: BaseViewModel
+{
+
+}
\ No newline at end of file
diff --git a/ViewModel/Configuration/LevelConfigVM.cs b/ViewModel/Configuration/LevelConfigVM.cs
new file mode 100644
index 0000000..885af86
--- /dev/null
+++ b/ViewModel/Configuration/LevelConfigVM.cs
@@ -0,0 +1,12 @@
+namespace SparkClient.ViewModel.Configuration;
+
+public class LevelConfigVM: BaseViewModel
+{
+
+ public List _levels;
+ public List Levels { get { return _levels; } set { _levels = value; OnPropertyChanged("Levels"); } }
+ public LevelConfigVM()
+ {
+ _levels = new List(){"12314", "3455623", "4567894"};
+ }
+}
\ No newline at end of file
diff --git a/Views/BaseWindow/HomeWindow.xaml b/Views/BaseWindow/HomeWindow.xaml
index 22fb002..38b3b79 100644
--- a/Views/BaseWindow/HomeWindow.xaml
+++ b/Views/BaseWindow/HomeWindow.xaml
@@ -31,23 +31,28 @@
-
@@ -55,30 +60,56 @@
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Views/BaseWindow/HomeWindow.xaml.cs b/Views/BaseWindow/HomeWindow.xaml.cs
index 31a3861..74e600b 100644
--- a/Views/BaseWindow/HomeWindow.xaml.cs
+++ b/Views/BaseWindow/HomeWindow.xaml.cs
@@ -1,4 +1,7 @@
-using System.Windows.Controls;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Input;
+using System.Windows.Media;
using SparkClient.ViewModel.BaseWindow;
namespace SparkClient.Views.BaseWindow;
@@ -9,4 +12,52 @@ public partial class HomeWindow
{
InitializeComponent();
}
+
+ private void UIElement_OnMouseLeave(object sender, MouseEventArgs e)
+ {
+ if (sender is Border border)
+ {
+ var gradientBrush = new RadialGradientBrush();
+
+ // 设置渐变起始点和中心点
+ gradientBrush.GradientOrigin = new Point(0.5, 0.5); // 中心点
+ gradientBrush.Center = new Point(0.5, 0.5);
+
+ // 设置渐变半径
+ gradientBrush.RadiusX = 0.5;
+ gradientBrush.RadiusY = 0.5;
+
+ // 添加渐变颜色
+ gradientBrush.GradientStops.Add(new GradientStop((Color)ColorConverter.ConvertFromString("#FF4C4D4F"), 0.0)); // 内部颜色
+ gradientBrush.GradientStops.Add(new GradientStop((Color)ColorConverter.ConvertFromString("#FF944703"), 2.0)); // 外部颜色
+
+ // 应用到 Border 的背景
+ border.Background = gradientBrush;
+ //border.Background = new SolidColorBrush(Colors.Transparent);
+ }
+ }
+
+ private void UIElement_OnMouseEnter(object sender, MouseEventArgs e)
+ {
+ if (sender is Border border)
+ {
+ var gradientBrush = new RadialGradientBrush();
+
+ // 设置渐变起始点和中心点
+ gradientBrush.GradientOrigin = new Point(0.5, 0.5); // 中心点
+ gradientBrush.Center = new Point(0.5, 0.5);
+
+ // 设置渐变半径
+ gradientBrush.RadiusX = 0.5;
+ gradientBrush.RadiusY = 0.5;
+
+ // 添加渐变颜色
+ gradientBrush.GradientStops.Add(new GradientStop((Color)ColorConverter.ConvertFromString("#FF4C4D4F"), 0.0)); // 内部颜色
+ gradientBrush.GradientStops.Add(new GradientStop((Color)ColorConverter.ConvertFromString("#FF944703"), 1.0)); // 外部颜色
+
+ // 应用到 Border 的背景
+ border.Background = gradientBrush;
+ // border.Background = new SolidColorBrush(Color.FromArgb(50, 255, 255, 255));
+ }
+ }
}
\ No newline at end of file
diff --git a/Views/Configuration/ConfigMenuPage.xaml b/Views/Configuration/ConfigMenuPage.xaml
index b551c8b..1dbce0e 100644
--- a/Views/Configuration/ConfigMenuPage.xaml
+++ b/Views/Configuration/ConfigMenuPage.xaml
@@ -5,7 +5,106 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SparkClient.Views"
mc:Ignorable="d" >
-
- 配置菜单3个
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Views/Configuration/ConfigMenuPage.xaml.cs b/Views/Configuration/ConfigMenuPage.xaml.cs
index 9eddfb2..61df299 100644
--- a/Views/Configuration/ConfigMenuPage.xaml.cs
+++ b/Views/Configuration/ConfigMenuPage.xaml.cs
@@ -1,4 +1,9 @@
-using System.Windows.Controls;
+using System.Drawing;
+using System.Windows.Controls;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using SparkClient.ViewModel.Configuration;
namespace SparkClient.Views.Configuration;
@@ -7,5 +12,46 @@ public partial class ConfigMenuPage
public ConfigMenuPage()
{
InitializeComponent();
+ DataContext = new ConfigMenuPageVM();
+ }
+
+ private void LevelButton_OnMouseEnter(object sender, MouseEventArgs e)
+ {
+ var brushConverter = new BrushConverter();
+ imgLevel.Source = new BitmapImage(new Uri(@"pack://application:,,,/Resource/Images/Level_Sel@3x.png"));
+ tbLevel.Foreground = (Brush)brushConverter.ConvertFromString("#9C7C5E");;
+ }
+
+ private void LevelButton_OnMouseLeave(object sender, MouseEventArgs e)
+ {
+ var brushConverter = new BrushConverter();
+ imgLevel.Source = new BitmapImage(new Uri(@"pack://application:,,,/Resource/Images/Level_Def@3x.png"));
+ tbLevel.Foreground = new SolidColorBrush(Colors.Azure);
+ }
+ private void AlgorButton_OnMouseEnter(object sender, MouseEventArgs e)
+ {
+ var brushConverter = new BrushConverter();
+ imgAlgor.Source = new BitmapImage(new Uri(@"pack://application:,,,/Resource/Images/Algor_Sel@3x.png"));
+ tbAlgor.Foreground = (Brush)brushConverter.ConvertFromString("#9C7C5E");;
+ }
+
+ private void AlgorButton_OnMouseLeave(object sender, MouseEventArgs e)
+ {
+ var brushConverter = new BrushConverter();
+ imgAlgor.Source = new BitmapImage(new Uri(@"pack://application:,,,/Resource/Images/Algor_Def@3x.png"));
+ tbAlgor.Foreground = new SolidColorBrush(Colors.Azure);
+ }
+ private void CutButton_OnMouseEnter(object sender, MouseEventArgs e)
+ {
+ var brushConverter = new BrushConverter();
+ imgCut.Source = new BitmapImage(new Uri(@"pack://application:,,,/Resource/Images/Cut_Sel@3x.png"));
+ tbCut.Foreground = (Brush)brushConverter.ConvertFromString("#9C7C5E");;
+ }
+
+ private void CutButton_OnMouseLeave(object sender, MouseEventArgs e)
+ {
+ var brushConverter = new BrushConverter();
+ imgCut.Source = new BitmapImage(new Uri(@"pack://application:,,,/Resource/Images/Cut_Def@3x.png"));
+ tbCut.Foreground = new SolidColorBrush(Colors.Azure);
}
}
\ No newline at end of file
diff --git a/Views/Configuration/LevelConfigPage.xaml b/Views/Configuration/LevelConfigPage.xaml
index d61722c..fc7f594 100644
--- a/Views/Configuration/LevelConfigPage.xaml
+++ b/Views/Configuration/LevelConfigPage.xaml
@@ -4,8 +4,31 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SparkClient.Views"
+ xmlns:hc="https://handyorg.github.io/handycontrol"
mc:Ignorable="d" >
-
- 定级配置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Views/Configuration/LevelConfigPage.xaml.cs b/Views/Configuration/LevelConfigPage.xaml.cs
index c2f0a4c..9f0195e 100644
--- a/Views/Configuration/LevelConfigPage.xaml.cs
+++ b/Views/Configuration/LevelConfigPage.xaml.cs
@@ -1,4 +1,5 @@
using System.Windows.Controls;
+using SparkClient.ViewModel.Configuration;
namespace SparkClient.Views.Configuration;
@@ -7,5 +8,6 @@ public partial class LevelConfigPage
public LevelConfigPage()
{
InitializeComponent();
+ DataContext = new LevelConfigVM();
}
}
\ No newline at end of file
diff --git a/Views/HelperPage.xaml b/Views/HelperPage.xaml
index 4a08bd7..32b5064 100644
--- a/Views/HelperPage.xaml
+++ b/Views/HelperPage.xaml
@@ -4,8 +4,9 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SparkClient.Views"
+ xmlns:wpf="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
mc:Ignorable="d" >
-
- 啊咦呦咦
+
+
diff --git a/Views/HelperPage.xaml.cs b/Views/HelperPage.xaml.cs
index e98a894..ae6834a 100644
--- a/Views/HelperPage.xaml.cs
+++ b/Views/HelperPage.xaml.cs
@@ -1,4 +1,5 @@
-using System.Windows.Controls;
+using System.Windows;
+using System.Windows.Controls;
namespace SparkClient.Views;
@@ -7,5 +8,7 @@ public partial class HelperPage
public HelperPage()
{
InitializeComponent();
+ Console.Out.WriteLine(AppDomain.CurrentDomain.BaseDirectory + @"\Resource\Document\Helper.pdf");
+ PdfWebViewer.Source = new Uri(AppDomain.CurrentDomain.BaseDirectory + @"Resource\Document\Helper.pdf");
}
}
\ No newline at end of file
diff --git a/obj/Debug/net8.0-windows/SparkClient.assets.cache b/obj/Debug/net8.0-windows/SparkClient.assets.cache
index 11f330c..47efc9d 100644
Binary files a/obj/Debug/net8.0-windows/SparkClient.assets.cache and b/obj/Debug/net8.0-windows/SparkClient.assets.cache differ
diff --git a/obj/Debug/net8.0-windows/SparkClient.csproj.FileListAbsolute.txt b/obj/Debug/net8.0-windows/SparkClient.csproj.FileListAbsolute.txt
index 54aef3a..4957b66 100644
--- a/obj/Debug/net8.0-windows/SparkClient.csproj.FileListAbsolute.txt
+++ b/obj/Debug/net8.0-windows/SparkClient.csproj.FileListAbsolute.txt
@@ -81,3 +81,112 @@ F:\MyProject\SparkClient\obj\Debug\net8.0-windows\Views\BaseWindow\BaseControl.g
F:\MyProject\SparkClient\obj\Debug\net8.0-windows\Views\BaseWindow\HomeWindow.g.cs
F:\MyProject\SparkClient\obj\Debug\net8.0-windows\Views\BaseWindow\HomeWindow.baml
F:\MyProject\SparkClient\bin\Debug\net8.0-windows\log4net.config
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SparkClient.exe
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\log4net.config
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SparkClient.deps.json
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SparkClient.runtimeconfig.json
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SparkClient.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SparkClient.pdb
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\CommunityToolkit.Mvvm.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\HandyControl.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\log4net.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Microsoft.Data.Sqlite.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Newtonsoft.Json.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SQLitePCLRaw.batteries_v2.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SQLitePCLRaw.core.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SQLitePCLRaw.provider.e_sqlcipher.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\SQLitePCLRaw.provider.e_sqlite3.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\en\HandyControl.resources.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\zh-CN\HandyControl.resources.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\browser-wasm\nativeassets\net8.0\e_sqlcipher.a
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-arm\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-arm64\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-armel\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-mips64\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-musl-arm\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-musl-arm64\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-musl-s390x\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-musl-x64\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-ppc64le\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-s390x\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-x64\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-x86\native\libe_sqlcipher.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\maccatalyst-arm64\native\libe_sqlcipher.dylib
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\maccatalyst-x64\native\libe_sqlcipher.dylib
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\osx-arm64\native\libe_sqlcipher.dylib
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\osx-x64\native\libe_sqlcipher.dylib
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-arm\native\e_sqlcipher.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-arm64\native\e_sqlcipher.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-x64\native\e_sqlcipher.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-x86\native\e_sqlcipher.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\browser-wasm\nativeassets\net8.0\e_sqlite3.a
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-arm\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-arm64\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-armel\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-mips64\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-musl-arm\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-musl-arm64\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-musl-s390x\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-musl-x64\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-ppc64le\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-s390x\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-x64\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\linux-x86\native\libe_sqlite3.so
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\maccatalyst-arm64\native\libe_sqlite3.dylib
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\maccatalyst-x64\native\libe_sqlite3.dylib
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\osx-arm64\native\libe_sqlite3.dylib
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\osx-x64\native\libe_sqlite3.dylib
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-arm\native\e_sqlite3.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-arm64\native\e_sqlite3.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-x64\native\e_sqlite3.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-x86\native\e_sqlite3.dll
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.csproj.AssemblyReference.cache
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Language\en_US.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Language\zh_CN.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\BaseWindow\BaseControl.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\MainWindow.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\BaseWindow\BaseControl.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\BaseWindow\HomeWindow.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Configuration\AlgorithmConfigPage.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Configuration\ConfigMenuPage.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Configuration\CutConfigPage.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Configuration\LevelConfigPage.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Grading\DiamondSelect.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Grading\GradingResult.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\HelperPage.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\App.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\GeneratedInternalTypeHelper.g.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient_MarkupCompile.cache
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient_MarkupCompile.lref
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\App.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\MainWindow.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\BaseWindow\HomeWindow.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Configuration\AlgorithmConfigPage.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Configuration\ConfigMenuPage.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Configuration\CutConfigPage.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Configuration\LevelConfigPage.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Grading\DiamondSelect.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\Grading\GradingResult.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\Views\HelperPage.baml
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.g.resources
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.GeneratedMSBuildEditorConfig.editorconfig
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.AssemblyInfoInputs.cache
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.AssemblyInfo.cs
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.csproj.CoreCompileInputs.cache
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkCli.BE712714.Up2Date
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.dll
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\refint\SparkClient.dll
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.pdb
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient.genruntimeconfig.cache
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\ref\SparkClient.dll
+F:\WorkSpace\Rider\SparkClient\obj\Debug\net8.0-windows\SparkClient_Content.g.cs
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-x86\native\WebView2Loader.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-x64\native\WebView2Loader.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\runtimes\win-arm64\native\WebView2Loader.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Microsoft.Web.WebView2.Core.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Microsoft.Web.WebView2.WinForms.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Microsoft.Web.WebView2.Wpf.dll
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Microsoft.Web.WebView2.Core.xml
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Microsoft.Web.WebView2.WinForms.xml
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Microsoft.Web.WebView2.Wpf.xml
+F:\WorkSpace\Rider\SparkClient\bin\Debug\net8.0-windows\Resource\Document\Helper.pdf
diff --git a/obj/Debug/net8.0-windows/apphost.exe b/obj/Debug/net8.0-windows/apphost.exe
index 7c30d7b..0a8a14d 100644
Binary files a/obj/Debug/net8.0-windows/apphost.exe and b/obj/Debug/net8.0-windows/apphost.exe differ
diff --git a/obj/SparkClient.csproj.nuget.dgspec.json b/obj/SparkClient.csproj.nuget.dgspec.json
index 7f8abd8..11c5951 100644
--- a/obj/SparkClient.csproj.nuget.dgspec.json
+++ b/obj/SparkClient.csproj.nuget.dgspec.json
@@ -1,21 +1,25 @@
{
"format": 1,
"restore": {
- "D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj": {}
+ "F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj": {}
},
"projects": {
- "D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj": {
+ "F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj",
+ "projectUniqueName": "F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj",
"projectName": "SparkClient",
- "projectPath": "D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj",
+ "projectPath": "F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj",
"packagesPath": "C:\\Users\\tongg\\.nuget\\packages\\",
- "outputPath": "D:\\WorkSpace\\spark\\SparkClient\\obj\\",
+ "outputPath": "F:\\WorkSpace\\Rider\\SparkClient\\obj\\",
"projectStyle": "PackageReference",
"UsingMicrosoftNETSdk": false,
+ "fallbackFolders": [
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
"configFilePaths": [
"C:\\Users\\tongg\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -23,6 +27,7 @@
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
@@ -66,6 +71,10 @@
"target": "Package",
"version": "[9.0.0, )"
},
+ "Microsoft.Web.WebView2": {
+ "target": "Package",
+ "version": "[1.0.2903.40, )"
+ },
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.3, )"
@@ -98,7 +107,7 @@
"privateAssets": "none"
}
},
- "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403/PortableRuntimeIdentifierGraph.json"
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.300/PortableRuntimeIdentifierGraph.json"
}
}
}
diff --git a/obj/SparkClient.csproj.nuget.g.props b/obj/SparkClient.csproj.nuget.g.props
index 487d4b6..870eb16 100644
--- a/obj/SparkClient.csproj.nuget.g.props
+++ b/obj/SparkClient.csproj.nuget.g.props
@@ -5,14 +5,16 @@
NuGet
$(MSBuildThisFileDirectory)project.assets.json
$(UserProfile)\.nuget\packages\
- C:\Users\tongg\.nuget\packages\
+ C:\Users\tongg\.nuget\packages\;D:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
PackageReference
6.12.0
+
+ C:\Users\tongg\.nuget\packages\microsoft.web.webview2\1.0.2903.40
C:\Users\tongg\.nuget\packages\handycontrol\3.5.1
\ No newline at end of file
diff --git a/obj/SparkClient.csproj.nuget.g.targets b/obj/SparkClient.csproj.nuget.g.targets
index 0dfa403..dbbc81d 100644
--- a/obj/SparkClient.csproj.nuget.g.targets
+++ b/obj/SparkClient.csproj.nuget.g.targets
@@ -3,6 +3,7 @@
+
\ No newline at end of file
diff --git a/obj/project.assets.json b/obj/project.assets.json
index f5e9fe7..35707bc 100644
--- a/obj/project.assets.json
+++ b/obj/project.assets.json
@@ -102,6 +102,26 @@
"lib/netstandard1.0/_._": {}
}
},
+ "Microsoft.Web.WebView2/1.0.2903.40": {
+ "type": "package",
+ "build": {
+ "buildTransitive/Microsoft.Web.WebView2.targets": {}
+ },
+ "runtimeTargets": {
+ "runtimes/win-arm64/native/WebView2Loader.dll": {
+ "assetType": "native",
+ "rid": "win-arm64"
+ },
+ "runtimes/win-x64/native/WebView2Loader.dll": {
+ "assetType": "native",
+ "rid": "win-x64"
+ },
+ "runtimes/win-x86/native/WebView2Loader.dll": {
+ "assetType": "native",
+ "rid": "win-x86"
+ }
+ }
+ },
"Newtonsoft.Json/13.0.3": {
"type": "package",
"compile": {
@@ -705,6 +725,103 @@
"version.txt"
]
},
+ "Microsoft.Web.WebView2/1.0.2903.40": {
+ "sha512": "THrzYAnJgE3+cNH+9Epr44XjoZoRELdVpXlWGPs6K9C9G6TqyDfVCeVAR/Er8ljLitIUX5gaSkPsy9wRhD1sgQ==",
+ "type": "package",
+ "path": "microsoft.web.webview2/1.0.2903.40",
+ "hasTools": true,
+ "files": [
+ ".nupkg.metadata",
+ ".signature.p7s",
+ "LICENSE.txt",
+ "NOTICE.txt",
+ "WebView2.idl",
+ "WebView2.tlb",
+ "build/Common.targets",
+ "build/Microsoft.Web.WebView2.targets",
+ "build/WebView2Rules.Project.xml",
+ "build/native/Microsoft.Web.WebView2.targets",
+ "build/native/arm64/WebView2Loader.dll",
+ "build/native/arm64/WebView2Loader.dll.lib",
+ "build/native/arm64/WebView2LoaderStatic.lib",
+ "build/native/include-winrt/WebView2Interop.h",
+ "build/native/include-winrt/WebView2Interop.idl",
+ "build/native/include-winrt/WebView2Interop.tlb",
+ "build/native/include/WebView2.h",
+ "build/native/include/WebView2EnvironmentOptions.h",
+ "build/native/x64/WebView2Loader.dll",
+ "build/native/x64/WebView2Loader.dll.lib",
+ "build/native/x64/WebView2LoaderStatic.lib",
+ "build/native/x86/WebView2Loader.dll",
+ "build/native/x86/WebView2Loader.dll.lib",
+ "build/native/x86/WebView2LoaderStatic.lib",
+ "build/wv2winrt.targets",
+ "buildTransitive/Microsoft.Web.WebView2.targets",
+ "lib/Microsoft.Web.WebView2.Core.winmd",
+ "lib/net462/Microsoft.Web.WebView2.Core.dll",
+ "lib/net462/Microsoft.Web.WebView2.Core.xml",
+ "lib/net462/Microsoft.Web.WebView2.WinForms.dll",
+ "lib/net462/Microsoft.Web.WebView2.WinForms.xml",
+ "lib/net462/Microsoft.Web.WebView2.Wpf.dll",
+ "lib/net462/Microsoft.Web.WebView2.Wpf.xml",
+ "lib_manual/net5.0-windows10.0.17763.0/Microsoft.Web.WebView2.Wpf.dll",
+ "lib_manual/net5.0-windows10.0.17763.0/Microsoft.Web.WebView2.Wpf.xml",
+ "lib_manual/net6.0-windows10.0.17763.0/Microsoft.Web.WebView2.Core.Projection.dll",
+ "lib_manual/net8.0-windows10.0.17763.0/Microsoft.Web.WebView2.Core.Projection.dll",
+ "lib_manual/netcoreapp3.0/Microsoft.Web.WebView2.Core.dll",
+ "lib_manual/netcoreapp3.0/Microsoft.Web.WebView2.Core.xml",
+ "lib_manual/netcoreapp3.0/Microsoft.Web.WebView2.WinForms.dll",
+ "lib_manual/netcoreapp3.0/Microsoft.Web.WebView2.WinForms.xml",
+ "lib_manual/netcoreapp3.0/Microsoft.Web.WebView2.Wpf.dll",
+ "lib_manual/netcoreapp3.0/Microsoft.Web.WebView2.Wpf.xml",
+ "microsoft.web.webview2.1.0.2903.40.nupkg.sha512",
+ "microsoft.web.webview2.nuspec",
+ "runtimes/win-arm64/native/WebView2Loader.dll",
+ "runtimes/win-arm64/native_uap/Microsoft.Web.WebView2.Core.dll",
+ "runtimes/win-x64/native/WebView2Loader.dll",
+ "runtimes/win-x64/native_uap/Microsoft.Web.WebView2.Core.dll",
+ "runtimes/win-x86/native/WebView2Loader.dll",
+ "runtimes/win-x86/native_uap/Microsoft.Web.WebView2.Core.dll",
+ "tools/VisualStudioToolsManifest.xml",
+ "tools/wv2winrt/Antlr3.Runtime.dll",
+ "tools/wv2winrt/Antlr4.StringTemplate.dll",
+ "tools/wv2winrt/System.Buffers.dll",
+ "tools/wv2winrt/System.CommandLine.DragonFruit.dll",
+ "tools/wv2winrt/System.CommandLine.Rendering.dll",
+ "tools/wv2winrt/System.CommandLine.dll",
+ "tools/wv2winrt/System.Memory.dll",
+ "tools/wv2winrt/System.Numerics.Vectors.dll",
+ "tools/wv2winrt/System.Runtime.CompilerServices.Unsafe.dll",
+ "tools/wv2winrt/codegen_util.dll",
+ "tools/wv2winrt/concrt140_app.dll",
+ "tools/wv2winrt/cs/System.CommandLine.resources.dll",
+ "tools/wv2winrt/de/System.CommandLine.resources.dll",
+ "tools/wv2winrt/es/System.CommandLine.resources.dll",
+ "tools/wv2winrt/fr/System.CommandLine.resources.dll",
+ "tools/wv2winrt/it/System.CommandLine.resources.dll",
+ "tools/wv2winrt/ja/System.CommandLine.resources.dll",
+ "tools/wv2winrt/ko/System.CommandLine.resources.dll",
+ "tools/wv2winrt/msvcp140_1_app.dll",
+ "tools/wv2winrt/msvcp140_2_app.dll",
+ "tools/wv2winrt/msvcp140_app.dll",
+ "tools/wv2winrt/pl/System.CommandLine.resources.dll",
+ "tools/wv2winrt/pt-BR/System.CommandLine.resources.dll",
+ "tools/wv2winrt/ru/System.CommandLine.resources.dll",
+ "tools/wv2winrt/tr/System.CommandLine.resources.dll",
+ "tools/wv2winrt/type_hierarchy.dll",
+ "tools/wv2winrt/vcamp140_app.dll",
+ "tools/wv2winrt/vccorlib140_app.dll",
+ "tools/wv2winrt/vcomp140_app.dll",
+ "tools/wv2winrt/vcruntime140_app.dll",
+ "tools/wv2winrt/winrt_winmd.dll",
+ "tools/wv2winrt/winrt_winmd.winmd",
+ "tools/wv2winrt/wv2winrt.exe",
+ "tools/wv2winrt/wv2winrt.exe.config",
+ "tools/wv2winrt/wv2winrt.xml",
+ "tools/wv2winrt/zh-Hans/System.CommandLine.resources.dll",
+ "tools/wv2winrt/zh-Hant/System.CommandLine.resources.dll"
+ ]
+ },
"Newtonsoft.Json/13.0.3": {
"sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"type": "package",
@@ -1102,26 +1219,32 @@
"HandyControl.Lang.en >= 3.5.1",
"HandyControls.Lang.zh-CN >= 3.5.3",
"Microsoft.Data.Sqlite >= 9.0.0",
+ "Microsoft.Web.WebView2 >= 1.0.2903.40",
"Newtonsoft.Json >= 13.0.3",
"SQLitePCLRaw.bundle_e_sqlcipher >= 2.1.10",
"log4net >= 3.0.3"
]
},
"packageFolders": {
- "C:\\Users\\tongg\\.nuget\\packages\\": {}
+ "C:\\Users\\tongg\\.nuget\\packages\\": {},
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj",
+ "projectUniqueName": "F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj",
"projectName": "SparkClient",
- "projectPath": "D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj",
+ "projectPath": "F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj",
"packagesPath": "C:\\Users\\tongg\\.nuget\\packages\\",
- "outputPath": "D:\\WorkSpace\\spark\\SparkClient\\obj\\",
+ "outputPath": "F:\\WorkSpace\\Rider\\SparkClient\\obj\\",
"projectStyle": "PackageReference",
"UsingMicrosoftNETSdk": false,
+ "fallbackFolders": [
+ "D:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
"configFilePaths": [
"C:\\Users\\tongg\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -1129,6 +1252,7 @@
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
@@ -1172,6 +1296,10 @@
"target": "Package",
"version": "[9.0.0, )"
},
+ "Microsoft.Web.WebView2": {
+ "target": "Package",
+ "version": "[1.0.2903.40, )"
+ },
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.3, )"
@@ -1204,7 +1332,7 @@
"privateAssets": "none"
}
},
- "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.403/PortableRuntimeIdentifierGraph.json"
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.300/PortableRuntimeIdentifierGraph.json"
}
}
}
diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache
index 3a4600f..5931ea9 100644
--- a/obj/project.nuget.cache
+++ b/obj/project.nuget.cache
@@ -1,8 +1,8 @@
{
"version": 2,
- "dgSpecHash": "RZJQpG0Pt1Q=",
+ "dgSpecHash": "evhdzCRbUQY=",
"success": true,
- "projectFilePath": "D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj",
+ "projectFilePath": "F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj",
"expectedPackageFiles": [
"C:\\Users\\tongg\\.nuget\\packages\\communitytoolkit.mvvm\\8.3.2\\communitytoolkit.mvvm.8.3.2.nupkg.sha512",
"C:\\Users\\tongg\\.nuget\\packages\\handycontrol\\3.5.1\\handycontrol.3.5.1.nupkg.sha512",
@@ -12,6 +12,7 @@
"C:\\Users\\tongg\\.nuget\\packages\\microsoft.data.sqlite\\9.0.0\\microsoft.data.sqlite.9.0.0.nupkg.sha512",
"C:\\Users\\tongg\\.nuget\\packages\\microsoft.data.sqlite.core\\9.0.0\\microsoft.data.sqlite.core.9.0.0.nupkg.sha512",
"C:\\Users\\tongg\\.nuget\\packages\\microsoft.netcore.platforms\\2.0.0\\microsoft.netcore.platforms.2.0.0.nupkg.sha512",
+ "C:\\Users\\tongg\\.nuget\\packages\\microsoft.web.webview2\\1.0.2903.40\\microsoft.web.webview2.1.0.2903.40.nupkg.sha512",
"C:\\Users\\tongg\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512",
"C:\\Users\\tongg\\.nuget\\packages\\sqlitepclraw.bundle_e_sqlcipher\\2.1.10\\sqlitepclraw.bundle_e_sqlcipher.2.1.10.nupkg.sha512",
"C:\\Users\\tongg\\.nuget\\packages\\sqlitepclraw.bundle_e_sqlite3\\2.1.10\\sqlitepclraw.bundle_e_sqlite3.2.1.10.nupkg.sha512",
diff --git a/obj/project.packagespec.json b/obj/project.packagespec.json
index 4b4490d..2e91fb7 100644
--- a/obj/project.packagespec.json
+++ b/obj/project.packagespec.json
@@ -1 +1 @@
-"restore":{"projectUniqueName":"D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj","projectName":"SparkClient","projectPath":"D:\\WorkSpace\\spark\\SparkClient\\SparkClient.csproj","outputPath":"D:\\WorkSpace\\spark\\SparkClient\\obj\\","projectStyle":"PackageReference","UsingMicrosoftNETSdk":false,"originalTargetFrameworks":["net8.0-windows"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0-windows7.0":{"targetAlias":"net8.0-windows","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net8.0-windows7.0":{"targetAlias":"net8.0-windows","dependencies":{"CommunityToolkit.Mvvm":{"target":"Package","version":"[8.3.2, )"},"HandyControl":{"target":"Package","version":"[3.5.1, )"},"HandyControl.Lang.en":{"target":"Package","version":"[3.5.1, )"},"HandyControls.Lang.zh-CN":{"target":"Package","version":"[3.5.3, )"},"Microsoft.Data.Sqlite":{"target":"Package","version":"[9.0.0, )"},"Newtonsoft.Json":{"target":"Package","version":"[13.0.3, )"},"SQLitePCLRaw.bundle_e_sqlcipher":{"target":"Package","version":"[2.1.10, )"},"log4net":{"target":"Package","version":"[3.0.3, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"},"Microsoft.WindowsDesktop.App.WPF":{"privateAssets":"none"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\8.0.403/PortableRuntimeIdentifierGraph.json"}}
\ No newline at end of file
+"restore":{"projectUniqueName":"F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj","projectName":"SparkClient","projectPath":"F:\\WorkSpace\\Rider\\SparkClient\\SparkClient.csproj","outputPath":"F:\\WorkSpace\\Rider\\SparkClient\\obj\\","projectStyle":"PackageReference","UsingMicrosoftNETSdk":false,"fallbackFolders":["D:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net8.0-windows"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"C:\\Program Files\\dotnet\\library-packs":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0-windows7.0":{"targetAlias":"net8.0-windows","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net8.0-windows7.0":{"targetAlias":"net8.0-windows","dependencies":{"CommunityToolkit.Mvvm":{"target":"Package","version":"[8.3.2, )"},"HandyControl":{"target":"Package","version":"[3.5.1, )"},"HandyControl.Lang.en":{"target":"Package","version":"[3.5.1, )"},"HandyControls.Lang.zh-CN":{"target":"Package","version":"[3.5.3, )"},"Microsoft.Data.Sqlite":{"target":"Package","version":"[9.0.0, )"},"Microsoft.Web.WebView2":{"target":"Package","version":"[1.0.2903.40, )"},"Newtonsoft.Json":{"target":"Package","version":"[13.0.3, )"},"SQLitePCLRaw.bundle_e_sqlcipher":{"target":"Package","version":"[2.1.10, )"},"log4net":{"target":"Package","version":"[3.0.3, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"},"Microsoft.WindowsDesktop.App.WPF":{"privateAssets":"none"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\8.0.300/PortableRuntimeIdentifierGraph.json"}}
\ No newline at end of file
diff --git a/obj/rider.project.model.nuget.info b/obj/rider.project.model.nuget.info
index b4eb06c..adf3a94 100644
--- a/obj/rider.project.model.nuget.info
+++ b/obj/rider.project.model.nuget.info
@@ -1 +1 @@
-17320638430813155
\ No newline at end of file
+17322841452751745
\ No newline at end of file
diff --git a/obj/rider.project.restore.info b/obj/rider.project.restore.info
index b4eb06c..72db77b 100644
--- a/obj/rider.project.restore.info
+++ b/obj/rider.project.restore.info
@@ -1 +1 @@
-17320638430813155
\ No newline at end of file
+17324348137981623
\ No newline at end of file