translate Microsoft language into human language

This commit is contained in:
clowwindy
2014-12-17 17:21:39 +08:00
parent d94d3074ec
commit e53873276f
4 changed files with 87 additions and 36 deletions
@@ -53,6 +53,7 @@ namespace Shadowsocks.View
controller.PACFileReadyToOpen += controller_PACFileReadyToOpen;
controller.ShareOverLANStatusChanged += controller_ShareOverLANStatusChanged;
controller.EnableGlobalChanged += controller_EnableGlobalChanged;
controller.Errored += controller_Errored;
this.updateChecker = new UpdateChecker();
updateChecker.NewVersionFound += updateChecker_NewVersionFound;
@@ -68,6 +69,11 @@ namespace Shadowsocks.View
}
}
void controller_Errored(object sender, System.IO.ErrorEventArgs e)
{
MessageBox.Show(e.GetException().ToString(), "Error: " + e.GetException().Message);
}
private void LoadTrayIcon()
{
int dpi;