mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
MainForm_VisibleChanged 移至 SettingForm 关闭后
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user