fix OK button

This commit is contained in:
clowwindy
2014-11-18 22:24:10 +08:00
parent 12f418a009
commit cdcb9897f9
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ namespace Shadowsocks.View
return;
}
controller.SaveServers(_modifiedConfiguration.configs);
this.Hide();
this.Close();
}
private void CancelButton_Click(object sender, EventArgs e)
@@ -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;