Click or drag to resize

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
)

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 Mac

Obsolete (compiler warning) in 5.4

Rhino for Windows

Obsolete (compiler warning) in 6.5
See Also