Add Command Version Control

Add more comments(zh)
Optimize code structure
Update the loading order to avoid repeated loading to optimize startup speed.
This commit is contained in:
2022-08-28 00:35:21 +08:00
parent eba9db1e35
commit aff13c2a97
11 changed files with 7756 additions and 5473 deletions

View File

@@ -72,6 +72,10 @@ namespace GrasscutterTools
//处理非UI线程异常
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
// 初始化语言环境
if (!string.IsNullOrEmpty(Settings.Default.DefaultLanguage))
MultiLanguage.SetDefaultLanguage(Settings.Default.DefaultLanguage);
Application.Run(new Forms.FormMain());
}