void controller_UpdatePACFromGFWListCompleted(object sender, GFWListUpdater.ResultEventArgs e) { string result = e.Success ? I18N.GetString("PAC updated") : I18N.GetString("No updates found. Please report to GFWList if you have problems with it."); ShowBalloonTip(I18N.GetString("Shadowsocks"), result, ToolTipIcon.Info, 1000); }
private void controller_UpdatePACFromGFWListCompleted(object sender, GFWListUpdater.ResultEventArgs e) { btnPacRemote.Text = "从官方更新本地PAC文件"; btnPacRemote.Enabled = true; string result = e.Success ? "更新PAC文件成功。" : "未发现更新内容"; ViewManager.instance.showBalloonTip("系统提示", result, ToolTipIcon.Info, 1000); }
void controller_UpdatePACFromGFWListCompleted(object sender, GFWListUpdater.ResultEventArgs e) { GFWListUpdater updater = (GFWListUpdater)sender; string result = e.Success ? (updater.update_type <= 1 ? I18N.GetString("PAC updated") : I18N.GetString("Domain white list list updated")) : I18N.GetString("No updates found. Please report to GFWList if you have problems with it."); ShowBalloonTip(I18N.GetString("Shadowsocks"), result, ToolTipIcon.Info, 1000); if (updater.update_type == 8) { controller.ToggleBypass(httpWhiteListItem.Checked); } }
void ControllerUpdatePACFromGFWListCompleted(object sender, GFWListUpdater.ResultEventArgs e) { string result = e.Success ? "PAC updated" : "No updates found. Please report to GFWList if you have problems with it."; ShowBalloonTip("Xsocks", result, ToolTipIcon.Info, 1000); }