mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-03 05:22:10 +00:00
Update MainForm.cs
This commit is contained in:
parent
e030fae1c4
commit
82682d4474
1 changed files with 4 additions and 1 deletions
|
@ -1164,7 +1164,10 @@ namespace v2rayN.Forms
|
||||||
private void ShowForm()
|
private void ShowForm()
|
||||||
{
|
{
|
||||||
this.Show();
|
this.Show();
|
||||||
|
if (this.WindowState == FormWindowState.Minimized)
|
||||||
|
{
|
||||||
this.WindowState = FormWindowState.Normal;
|
this.WindowState = FormWindowState.Normal;
|
||||||
|
}
|
||||||
this.Activate();
|
this.Activate();
|
||||||
this.ShowInTaskbar = true;
|
this.ShowInTaskbar = true;
|
||||||
//this.notifyIcon1.Visible = false;
|
//this.notifyIcon1.Visible = false;
|
||||||
|
|
Loading…
Reference in a new issue