diff --git a/App.config b/App.config
new file mode 100644
index 0000000..3190def
--- /dev/null
+++ b/App.config
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Common/Tools/Config.cs b/Common/Tools/Config.cs
new file mode 100644
index 0000000..fe8dbb3
--- /dev/null
+++ b/Common/Tools/Config.cs
@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace VideoConcat.Common.Tools
+{
+ class Config
+ {
+ ///
+ /// 读取客户设置
+ ///
+ ///
+ ///
+ public static string GetSettingString(string settingName)
+ {
+ try
+ {
+ string settingString = ConfigurationManager.AppSettings[settingName].ToString();
+ return settingString;
+ }
+ catch (Exception)
+ {
+ return null;
+ }
+ }
+
+ ///
+ /// 更新设置
+ ///
+ ///
+ ///
+ public static void UpdateSettingString(string settingName, string valueName)
+ {
+ Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
+
+ if (ConfigurationManager.AppSettings[settingName] != null)
+ {
+ config.AppSettings.Settings.Remove(settingName);
+ }
+ config.AppSettings.Settings.Add(settingName, valueName);
+ config.Save(ConfigurationSaveMode.Modified);
+ ConfigurationManager.RefreshSection("appSettings");
+ }
+ }
+}
diff --git a/VideoConcat.csproj b/VideoConcat.csproj
index bfd84cf..2015aed 100644
--- a/VideoConcat.csproj
+++ b/VideoConcat.csproj
@@ -9,6 +9,7 @@
true
true
视频.ico
+ app.manifest
@@ -23,6 +24,12 @@
+
+
+ PreserveNewest
+
+
+
Never
@@ -30,6 +37,9 @@
+
+ Always
+
PreserveNewest
diff --git a/VideoConcat.sln b/VideoConcat.sln
index 81abae2..ed7cba0 100644
--- a/VideoConcat.sln
+++ b/VideoConcat.sln
@@ -5,7 +5,7 @@ VisualStudioVersion = 17.11.35327.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VideoConcat", "VideoConcat.csproj", "{2FF5691C-3184-4B68-944B-C704E64C4E4E}"
EndProject
-Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "视频", "..\视频\视频.vdproj", "{6253EBA0-190A-4A7D-AC55-954172807A46}"
+Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "视频", "..\视频\视频.vdproj", "{F784558F-CA6F-E806-1DC3-7B0C364779F3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -17,8 +17,8 @@ Global
{2FF5691C-3184-4B68-944B-C704E64C4E4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2FF5691C-3184-4B68-944B-C704E64C4E4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2FF5691C-3184-4B68-944B-C704E64C4E4E}.Release|Any CPU.Build.0 = Release|Any CPU
- {6253EBA0-190A-4A7D-AC55-954172807A46}.Debug|Any CPU.ActiveCfg = Debug
- {6253EBA0-190A-4A7D-AC55-954172807A46}.Release|Any CPU.ActiveCfg = Release
+ {F784558F-CA6F-E806-1DC3-7B0C364779F3}.Debug|Any CPU.ActiveCfg = Debug
+ {F784558F-CA6F-E806-1DC3-7B0C364779F3}.Release|Any CPU.ActiveCfg = Release
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Views/MainWindow.xaml b/Views/MainWindow.xaml
index b0f6e20..cc37acf 100644
--- a/Views/MainWindow.xaml
+++ b/Views/MainWindow.xaml
@@ -8,7 +8,7 @@
xmlns:local="clr-namespace:VideoConcat"
mc:Ignorable="d"
Title="登录"
- Height="300"
+ Height="330"
Width="500"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen">
@@ -73,6 +73,10 @@
+
+
+ 记住我
+