Skip to main content
Version: 3.5

DialogResult

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Specifies the return value of a dialog box.

public enum DialogResult : Enum

Fields

NameDescription
AbortThe dialog box return value is Abort (usually sent from a button labeled Abort).
CancelThe dialog box return value is Cancel (usually sent from a button labeled Cancel).
IgnoreThe dialog box return value is Ignore (usually sent from a button labeled Ignore).
NoThe dialog box return value is No (usually sent from a button labeled No).
NoneNothing is returned from the dialog box.
OKThe dialog box return value is OK (usually sent from a button labeled OK).
RetryThe dialog box return value is Retry (usually sent from a button labeled Retry).
YesThe dialog box return value is Yes (usually sent from a button labeled Yes).

Used By

NameDescription
CommonDialog.ShowDialogRuns a common dialog box with a default owner.
Button.DialogResultReturns or sets a value that is returned to the parent form when the button is clicked.
Form.DialogResultReturns or sets the dialog result for the form.
Form.ShowDialogShows the form as a modal dialog box. When the onclose is specified, the dialog is modal only in the browser.
Label.DialogResultReturns or sets a value that is returned to the parent form when the button is clicked.
MessageBox.ShowDisplays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
PictureBox.DialogResultReturns or sets a value that is returned to the parent form when the button is clicked.
IButtonControl.DialogResultReturns or sets the value returned to the parent form when the button is clicked.
IWisejEditorService.ShowDialogShows the specified Form and returns its DialogResult when the user closes it.