Browse Source

fix OK button

tags/2.3
clowwindy 9 years ago
parent
commit
cdcb9897f9
3 changed files with 2 additions and 2 deletions
  1. +1
    -1
      shadowsocks-csharp/View/ConfigForm.cs
  2. +1
    -0
      shadowsocks-csharp/View/MenuViewController.cs
  3. +0
    -1
      shadowsocks-csharp/shadowsocks-csharp.csproj

+ 1
- 1
shadowsocks-csharp/View/ConfigForm.cs View File

@@ -180,7 +180,7 @@ namespace Shadowsocks.View
return; return;
} }
controller.SaveServers(_modifiedConfiguration.configs); controller.SaveServers(_modifiedConfiguration.configs);
this.Hide();
this.Close();
} }
private void CancelButton_Click(object sender, EventArgs e) private void CancelButton_Click(object sender, EventArgs e)


+ 1
- 0
shadowsocks-csharp/View/MenuViewController.cs View File

@@ -86,6 +86,7 @@ namespace Shadowsocks.View
icon = Resources.ss24; icon = Resources.ss24;
} }
notifyIcon1 = new NotifyIcon(); notifyIcon1 = new NotifyIcon();
notifyIcon1.Text = "Shadowsocks";
notifyIcon1.Icon = Icon.FromHandle(icon.GetHicon()); notifyIcon1.Icon = Icon.FromHandle(icon.GetHicon());
notifyIcon1.Visible = true; notifyIcon1.Visible = true;


+ 0
- 1
shadowsocks-csharp/shadowsocks-csharp.csproj View File

@@ -125,7 +125,6 @@
<None Include="app.manifest"> <None Include="app.manifest">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</None> </None>
<None Include="Data\libeay32.dll.gz" />
<None Include="Data\polarssl.dll.gz" /> <None Include="Data\polarssl.dll.gz" />
<None Include="Data\polipo.exe.gz" /> <None Include="Data\polipo.exe.gz" />
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">


Loading…
Cancel
Save