private void UpdateChallengeSentDialog() { if ((this.m_partyId != null) && (this.m_challengeDialog != null)) { AlertPopup challengeDialog = (AlertPopup)this.m_challengeDialog; AlertPopup.PopupInfo info = challengeDialog.GetInfo(); if (info != null) { info.m_responseDisplay = AlertPopup.ResponseDisplay.CANCEL; challengeDialog.UpdateInfo(info); } } }