diff --git a/src/Configurations.cs b/src/Configurations.cs
index 50d939b..b4a2f4a 100644
--- a/src/Configurations.cs
+++ b/src/Configurations.cs
@@ -7,9 +7,9 @@ namespace SeewoHelper
public static class Configurations
{
///
- /// 配置
+ /// 配置
///
- public static readonly Configuration FileSortingInfos = new(Path.Combine(Constants.ConfigurationPath, "CoursewareSortingInfo.json"), new(ExtraFileSortingWay.None, Array.Empty()));
+ public static readonly Configuration FileSorterConfig = new(Path.Combine(Constants.ConfigurationPath, "FileSorterConfig.json"), new(ExtraFileSortingWay.None, Array.Empty()));
///
/// 配置
diff --git a/src/Forms/WindowMain.Designer.cs b/src/Forms/WindowMain.Designer.cs
index ef00932..a30008b 100644
--- a/src/Forms/WindowMain.Designer.cs
+++ b/src/Forms/WindowMain.Designer.cs
@@ -104,7 +104,7 @@ private void InitializeComponent()
this.buttonStartFileSorting.Style = Sunny.UI.UIStyle.LightBlue;
this.buttonStartFileSorting.TabIndex = 16;
this.buttonStartFileSorting.Text = "整理";
- this.buttonStartFileSorting.Click += new System.EventHandler(this.ButtonStartCoursewareSorting_Click);
+ this.buttonStartFileSorting.Click += new System.EventHandler(this.ButtonStartFileSorting_Click);
//
// comboBoxExtraFileSortingWay
//
diff --git a/src/Forms/WindowMain.cs b/src/Forms/WindowMain.cs
index 2941a76..53ae2d4 100644
--- a/src/Forms/WindowMain.cs
+++ b/src/Forms/WindowMain.cs
@@ -52,7 +52,7 @@ private void ListViewSubjectStorageInfos_ColumnWidthChanging(object sender, Colu
e.NewWidth = listViewFileSortingInfos.Columns[e.ColumnIndex].Width;
}
- private async void ButtonStartCoursewareSorting_Click(object sender, EventArgs e)
+ private async void ButtonStartFileSorting_Click(object sender, EventArgs e)
{
var infos = listViewFileSortingInfos.Items.Cast().Select(x => (FileSortingInfo)x.Tag);
@@ -85,7 +85,7 @@ private void WindowMain_Load(object sender, EventArgs e)
private void LoadComboBoxExtraFileSortingWay()
{
comboBoxExtraFileSortingWay.Items.AddRange(_extraFileSortingWayDictionary.Values.ToArray());
- comboBoxExtraFileSortingWay.SelectedItem = _extraFileSortingWayDictionary[Configurations.FileSortingInfos.Content.ExtraFileSortingWay];
+ comboBoxExtraFileSortingWay.SelectedItem = _extraFileSortingWayDictionary[Configurations.FileSorterConfig.Content.ExtraFileSortingWay];
}
private void CreateServiceCheckBox()
@@ -144,13 +144,13 @@ private void WindowMain_FormClosing(object sender, FormClosingEventArgs e)
private void UpdateSubjectStorageInfoConfig()
{
var infos = listViewFileSortingInfos.Items.Cast().Select(x => (FileSortingInfo)x.Tag);
- Configurations.FileSortingInfos.Content = Configurations.FileSortingInfos.Content with { FileSortingInfos = infos.ToArray() };
- Configurations.FileSortingInfos.Save();
+ Configurations.FileSorterConfig.Content = Configurations.FileSorterConfig.Content with { FileSortingInfos = infos.ToArray() };
+ Configurations.FileSorterConfig.Save();
}
private void LoadSubjectStorageInfoConfig()
{
- var info = Configurations.FileSortingInfos.Content;
+ var info = Configurations.FileSorterConfig.Content;
foreach (var subject in info.FileSortingInfos)
{