From 6043d74bd0386364acfd983067070355f6fa7129 Mon Sep 17 00:00:00 2001 From: 2dust Date: Mon, 30 Sep 2019 10:11:50 +0800 Subject: [PATCH] Update MainForm.cs --- v2rayN/v2rayN/Forms/MainForm.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v2rayN/v2rayN/Forms/MainForm.cs b/v2rayN/v2rayN/Forms/MainForm.cs index f36c2fc7..a8df305a 100644 --- a/v2rayN/v2rayN/Forms/MainForm.cs +++ b/v2rayN/v2rayN/Forms/MainForm.cs @@ -392,6 +392,8 @@ namespace v2rayN.Forms } } } + notifyMain.Icon = GetNotifyIcon(); + } private void ssMain_ItemClicked(object sender, ToolStripItemClickedEventArgs e) { @@ -1019,7 +1021,7 @@ namespace v2rayN.Forms { //this.WindowState = FormWindowState.Minimized; this.Hide(); - this.notifyMain.Icon = this.Icon; + //this.notifyMain.Icon = this.Icon; this.notifyMain.Visible = true; this.ShowInTaskbar = false;