support for .NET Core 3.0

This commit is contained in:
NaBian committed 2019-04-03 23:40:54 +08:00
1 parent d26e29176d
commit 7dc9c11c3e
6 files changed
+265 -2

No files matched your search

@@ -30,7 +30,7 @@ namespace HandyControlDemo.UserControl
if (!b) return true;
GlobalData.Config.Lang = tag;
GlobalData.Save();
Process.Start(Assembly.GetExecutingAssembly().Location);
Process.Start(Process.GetCurrentProcess().MainModule.FileName);
Application.Current.Shutdown();
return true;
});