RhinoCommon API
DialogsShowMessage Method (String, String, ShowMessageButton, ShowMessageIcon) |
Same as System.Windows.Forms.MessageBox.Show but using a message box tailored to Rhino.
Namespace: Rhino.UI
Assembly: RhinoCommon (in RhinoCommon.dll)

public static ShowMessageResult ShowMessage( string message, string title, ShowMessageButton buttons, ShowMessageIcon icon )
Public Shared Function ShowMessage ( message As String, title As String, buttons As ShowMessageButton, icon As ShowMessageIcon ) As ShowMessageResult
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: ShowMessageResultOne of the ShowMessageBoxResult values.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8