Nexus.Client.ModManagement.Scripting.UIUtil.ShowExtendedMessageBox C# (CSharp) Method

ShowExtendedMessageBox() public method

Displays an extended message box.
public ShowExtendedMessageBox ( string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult
p_strMessage string The message to display.
p_strCaption string The caption of the message box.
p_strDetails string The details to display.
p_mbbButtons MessageBoxButtons The buttons to show on the message box.
p_mbiIcon MessageBoxIcon The icon to show on the message box.
return DialogResult
		public DialogResult ShowExtendedMessageBox(string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon)
		{
			DialogResult drsResult = DialogResult.None;
			try
			{
				new PermissionSet(PermissionState.Unrestricted).Assert();
				SyncContext.Send(x => drsResult = ExtendedMessageBox.Show(null, p_strMessage, p_strCaption, p_strDetails, p_mbbButtons, p_mbiIcon), null);
			}
			finally
			{
				PermissionSet.RevertAssert();
			}
			return drsResult;
		}