diff --git a/shadowsocks-csharp/View/ConfigForm.cs b/shadowsocks-csharp/View/ConfigForm.cs index 5bc1cc6b..1601e0ef 100755 --- a/shadowsocks-csharp/View/ConfigForm.cs +++ b/shadowsocks-csharp/View/ConfigForm.cs @@ -180,7 +180,7 @@ namespace Shadowsocks.View return; } controller.SaveServers(_modifiedConfiguration.configs); - this.Hide(); + this.Close(); } private void CancelButton_Click(object sender, EventArgs e) diff --git a/shadowsocks-csharp/View/MenuViewController.cs b/shadowsocks-csharp/View/MenuViewController.cs index ad46cba7..c4eb8193 100755 --- a/shadowsocks-csharp/View/MenuViewController.cs +++ b/shadowsocks-csharp/View/MenuViewController.cs @@ -86,6 +86,7 @@ namespace Shadowsocks.View icon = Resources.ss24; } notifyIcon1 = new NotifyIcon(); + notifyIcon1.Text = "Shadowsocks"; notifyIcon1.Icon = Icon.FromHandle(icon.GetHicon()); notifyIcon1.Visible = true; diff --git a/shadowsocks-csharp/shadowsocks-csharp.csproj b/shadowsocks-csharp/shadowsocks-csharp.csproj index b04eff8b..6221c918 100755 --- a/shadowsocks-csharp/shadowsocks-csharp.csproj +++ b/shadowsocks-csharp/shadowsocks-csharp.csproj @@ -125,7 +125,6 @@ Designer -