diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs index 186ca40..7171425 100644 --- a/AllBase/BaseClass.cs +++ b/AllBase/BaseClass.cs @@ -27,8 +27,8 @@ namespace AllBase /// /// 版本ID /// - public static int VersionCount = 587; - //public static int VersionCount = 587; + public static int VersionCount = 589; + //public static int VersionCount = 589; /// /// 版本号 diff --git a/TEMUKJD/InitForm.cs b/TEMUKJD/InitForm.cs index 1b376bd..7b23c9d 100644 --- a/TEMUKJD/InitForm.cs +++ b/TEMUKJD/InitForm.cs @@ -78,8 +78,11 @@ namespace TemuKJD }); } + bool isOpen = false; void OpenNewMainForm() { + if (isOpen) + return; try { if (!Work.Initialization.IsCheckFilesSuccesss) @@ -88,6 +91,7 @@ namespace TemuKJD Process.GetCurrentProcess().Kill(); } this.Hide(); + isOpen = true; new MainForm(initFormSettings.LoginType).ShowDialog(); } catch (Exception ex)