From cdcb9897f9533d5f5b09afd9be508dfb2f6e084a Mon Sep 17 00:00:00 2001 From: clowwindy Date: Tue, 18 Nov 2014 22:24:10 +0800 Subject: [PATCH] fix OK button --- shadowsocks-csharp/View/ConfigForm.cs | 2 +- shadowsocks-csharp/View/MenuViewController.cs | 1 + shadowsocks-csharp/shadowsocks-csharp.csproj | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) 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 -