Update MainForm.cs

This commit is contained in:
2dust 2022-03-14 20:36:09 +08:00
parent e030fae1c4
commit 82682d4474

View file

@ -1164,7 +1164,10 @@ namespace v2rayN.Forms
private void ShowForm()
{
this.Show();
this.WindowState = FormWindowState.Normal;
if (this.WindowState == FormWindowState.Minimized)
{
this.WindowState = FormWindowState.Normal;
}
this.Activate();
this.ShowInTaskbar = true;
//this.notifyIcon1.Visible = false;