C# Class ClearCanvas.Desktop.Workspace

Represents a workspace within a desktop window.
Inheritance: ClearCanvas.Desktop.DesktopObject, IWorkspace
Afficher le fichier Open project: jasper-yeh/ClearCanvas Class Usage Examples

Private Properties

Свойство Type Description
CreateWorkspaceDialogBoxView IWorkspaceDialogBoxView

Méthodes publiques

Méthode Description
ShowDialogBox ( ClearCanvas.Desktop.DialogBoxCreationArgs args ) : WorkspaceDialogBox

Shows a dialog box in front of this workspace.

Méthodes protégées

Méthode Description
CanClose ( ) : bool

Asks the object whether it is in a closable state without user intervention.

CreateView ( ) : IDesktopObjectView

Creates a view for this workspace.

Dispose ( bool disposing ) : void

Stops the hosted component.

Initialize ( ) : void

Starts the hosted component.

OnClosing ( ClosingEventArgs args ) : void

Overridden to prevent closing the Workspace if UserClosable is false.

PrepareClose ( CloseReason reason ) : bool

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

Workspace ( ClearCanvas.Desktop.WorkspaceCreationArgs args, DesktopWindow desktopWindow ) : System

Constructor.

Private Methods

Méthode Description
CreateWorkspaceDialogBoxView ( WorkspaceDialogBox dialogBox ) : IWorkspaceDialogBoxView

Creates a dialog box view for the specified dialog box.

Method Details

CanClose() protected méthode

Asks the object whether it is in a closable state without user intervention.
protected CanClose ( ) : bool
Résultat bool

CreateView() protected final méthode

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

Dispose() protected méthode

Stops the hosted component.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Initialize() protected méthode

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

OnClosing() protected méthode

Overridden to prevent closing the Workspace if UserClosable is false.
protected OnClosing ( ClosingEventArgs args ) : void
args ClosingEventArgs
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

ShowDialogBox() public méthode

Shows a dialog box in front of this workspace.
public ShowDialogBox ( ClearCanvas.Desktop.DialogBoxCreationArgs args ) : WorkspaceDialogBox
args ClearCanvas.Desktop.DialogBoxCreationArgs Arguments used to create the dialog box.
Résultat WorkspaceDialogBox

Workspace() protected méthode

Constructor.
protected Workspace ( ClearCanvas.Desktop.WorkspaceCreationArgs args, DesktopWindow desktopWindow ) : System
args ClearCanvas.Desktop.WorkspaceCreationArgs Arguments for creation of the .
desktopWindow DesktopWindow The that owns the .
Résultat System