1同上一条 2修复拼多多启动器多次启动问题
This commit is contained in:
1 parent
d50a4e00bb
commit
f4fedf1e2f
2 files changed
+6
-2
No files matched your search
@@ -27,8 +27,8 @@ namespace AllBase
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 版本ID
|
/// 版本ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static int VersionCount = 587;
|
public static int VersionCount = 589;
|
||||||
//public static int VersionCount = 587;
|
//public static int VersionCount = 589;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 版本号
|
/// 版本号
|
||||||
|
|||||||
@@ -78,8 +78,11 @@ namespace TemuKJD
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool isOpen = false;
|
||||||
void OpenNewMainForm()
|
void OpenNewMainForm()
|
||||||
{
|
{
|
||||||
|
if (isOpen)
|
||||||
|
return;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (!Work.Initialization.IsCheckFilesSuccesss)
|
if (!Work.Initialization.IsCheckFilesSuccesss)
|
||||||
@@ -88,6 +91,7 @@ namespace TemuKJD
|
|||||||
Process.GetCurrentProcess().Kill();
|
Process.GetCurrentProcess().Kill();
|
||||||
}
|
}
|
||||||
this.Hide();
|
this.Hide();
|
||||||
|
isOpen = true;
|
||||||
new MainForm(initFormSettings.LoginType).ShowDialog();
|
new MainForm(initFormSettings.LoginType).ShowDialog();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
Reference in new issue
Block a user