Click or drag to resize
DialogsShowMessage Method (String, String, ShowMessageButton, ShowMessageIcon)
Same as System.Windows.Froms.MessageBox.Show but using a message box tailored to Rhino.

Namespace: Rhino.UI
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static ShowMessageResult ShowMessage(
	string message,
	string title,
	ShowMessageButton buttons,
	ShowMessageIcon icon
)

Parameters

message
Type: SystemString
Message box text content.
title
Type: SystemString
Message box title text.
buttons
Type: Rhino.UIShowMessageButton
Which buttons to display in the message box.
icon
Type: Rhino.UIShowMessageIcon
Which icon to display in the message box.

Return Value

Type: ShowMessageResult
One of the ShowMessageBoxResult values.
See Also