C# Class ClearCanvas.Desktop.DialogBox

Represents a dialog box.
Inheritance: ClearCanvas.Desktop.DesktopObject
Afficher le fichier Open project: jasper-yeh/ClearCanvas Class Usage Examples

Private Properties

Свойство Type Description
RunModal DialogBoxAction

Méthodes protégées

Méthode Description
CanClose ( ) : bool

Checks if the hosted component can close without user interaction.

CreateView ( ) : IDesktopObjectView

Creates a view for this object.

DialogBox ( ClearCanvas.Desktop.DialogBoxCreationArgs args, DesktopWindow desktopWindow ) : ClearCanvas.Common

Constructor.

Dispose ( bool disposing ) : void

Disposes of this object.

Initialize ( ) : void

Starts the hosted component.

PrepareClose ( CloseReason reason ) : bool

Gives the hosted component a chance to prepare for a forced exit.

Private Methods

Méthode Description
RunModal ( ) : DialogBoxAction

Runs this dialog on a modal loop, blocking until the dialog is closed.

Method Details

CanClose() protected méthode

Checks if the hosted component can close without user interaction.
protected CanClose ( ) : bool
Résultat bool

CreateView() protected final méthode

Creates a view for this object.
protected final CreateView ( ) : IDesktopObjectView
Résultat IDesktopObjectView

DialogBox() protected méthode

Constructor.
protected DialogBox ( ClearCanvas.Desktop.DialogBoxCreationArgs args, DesktopWindow desktopWindow ) : ClearCanvas.Common
args ClearCanvas.Desktop.DialogBoxCreationArgs Creation args for the dialog box.
desktopWindow DesktopWindow The that owns the dialog box.
Résultat ClearCanvas.Common

Dispose() protected méthode

Disposes of this object.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Initialize() protected méthode

Starts the hosted component.
protected Initialize ( ) : void
Résultat void

PrepareClose() protected méthode

Gives the hosted component a chance to prepare for a forced exit.
protected PrepareClose ( CloseReason reason ) : bool
reason CloseReason
Résultat bool