Dialogs.ShowMessageBox Method (String, String, MessageBoxButtons, MessageBoxIcon)

DialogsShowMessageBox Method (String, String, MessageBoxButtons, MessageBoxIcon)

Note: This API is now obsolete.

Same as System.Windows.Forms.MessageBox.Show but using a message box tailored to Rhino.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
[ObsoleteAttribute("Use ShowMessage")]
public static DialogResult ShowMessageBox(
	string message,
	string title,
	MessageBoxButtons buttons,
	MessageBoxIcon icon
)
<ObsoleteAttribute("Use ShowMessage")>
Public Shared Function ShowMessageBox ( 
	message As String,
	title As String,
	buttons As MessageBoxButtons,
	icon As MessageBoxIcon
) As DialogResult

Parameters

message
Type: SystemString

[Missing <param name="message"/> documentation for "M:Rhino.UI.Dialogs.ShowMessageBox(System.String,System.String,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)"]

title
Type: SystemString

[Missing <param name="title"/> documentation for "M:Rhino.UI.Dialogs.ShowMessageBox(System.String,System.String,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)"]

buttons
Type: System.Windows.FormsMessageBoxButtons

[Missing <param name="buttons"/> documentation for "M:Rhino.UI.Dialogs.ShowMessageBox(System.String,System.String,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)"]

icon
Type: System.Windows.FormsMessageBoxIcon

[Missing <param name="icon"/> documentation for "M:Rhino.UI.Dialogs.ShowMessageBox(System.String,System.String,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)"]

Return Value

Type: DialogResult

[Missing <returns> documentation for "M:Rhino.UI.Dialogs.ShowMessageBox(System.String,System.String,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)"]

Version Information

Rhino for Windows

Obsolete (compiler warning) in 6.8
See Also