private void ApplyNewSettingOnError(Exception e, string helperText) { ShowDialog("設定失敗", string.Format(CultureInfo.InvariantCulture, "{0}\n{1}", e.Message, helperText), "重試", () => { currentTab.ApplySetting(); }, PackIconKind.CloseCircleOutline); //currentTab.ApplyOnFail(); }