C# Class ClearCanvas.Desktop.DialogBox

Represents a dialog box.
Inheritance: ClearCanvas.Desktop.DesktopObject
ファイルを表示 Open project: jasper-yeh/ClearCanvas Class Usage Examples

Private Properties

Property Type Description
RunModal DialogBoxAction

Protected Methods

Method 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

Method Description
RunModal ( ) : DialogBoxAction

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

Method Details

CanClose() protected method

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

CreateView() protected final method

Creates a view for this object.
protected final CreateView ( ) : IDesktopObjectView
return IDesktopObjectView

DialogBox() protected method

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.
return ClearCanvas.Common

Dispose() protected method

Disposes of this object.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Initialize() protected method

Starts the hosted component.
protected Initialize ( ) : void
return void

PrepareClose() protected method

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