private void WriteSuccessfulResponse(HttpContext context) { string localizedString; string localizedString2; if (this.operationType == ModernGroupMembershipOperationType.Escalate) { localizedString = this.GetLocalizedString(ClientStrings.GroupSubscriptionPageSubscribed(this.encodedGroupDisplayName)); localizedString2 = this.GetLocalizedString(ClientStrings.GroupSubscriptionPageSubscribedInfo); } else { localizedString = this.GetLocalizedString(ClientStrings.GroupSubscriptionPageUnsubscribed(this.encodedGroupDisplayName)); localizedString2 = this.GetLocalizedString(ClientStrings.GroupSubscriptionPageUnsubscribedInfo); } string str = string.Format("<table cellspacing=\"0\"cellpadding=\"0\"border=\"0\" style=\"margin-top:24px; color:#333333;max-width:600px\"><tbody><tr><td style=\"font-size:42px;\">{0}</td></tr><tr><td style=\"font-size:17px;padding-top:30px\">{1}</td></tr></tbody></table>", localizedString, localizedString2); string mainBody = this.groupHeaderDiv + str; context.Response.Write(this.GetMainPage(mainBody)); }