MainForm_VisibleChanged 移至 SettingForm 关闭后

This commit is contained in:
ChsBuffer
2020-08-25 05:01:43 +08:00
parent b061a00057
commit 9b4304f016
2 changed files with 2 additions and 9 deletions

View File

@@ -144,14 +144,6 @@ namespace Netch.Forms
{
Hide();
new SettingForm().ShowDialog();
Show();
}
private void MainForm_VisibleChanged(object sender, EventArgs e)
{
if (!Visible)
return;
if (i18N.LangCode != Global.Settings.Language)
{
@@ -162,6 +154,8 @@ namespace Netch.Forms
if (ProfileButtons.Count != Global.Settings.ProfileCount)
InitProfile();
Show();
}
private void InitText()