C# Class ClearCanvas.Desktop.View.WinForms.WorkspaceView

WinForms implementation of IWorkspaceView.

This class may subclassed if customization is desired. In this case, the DesktopWindowView class must also be subclassed in order to instantiate the subclass from its DesktopWindowView.CreateWorkspaceView method.

Reasons for subclassing may include: overriding SetTitle to customize the display of the workspace title.

Inheritance: ClearCanvas.Desktop.View.WinForms.DesktopObjectView, IWorkspaceView
Afficher le fichier Open project: jasper-yeh/ClearCanvas Class Usage Examples

Méthodes publiques

Méthode Description
Activate ( ) : void

Activates the workspace, making the tab the selected tab.

CreateDialogBoxView ( WorkspaceDialogBox dialogBox ) : IWorkspaceDialogBoxView

Creates a new view for the specified WorkspaceDialogBox.

Override this method if you want to return a custom implementation of IWorkspaceDialogBoxView. In practice, it is preferable to subclass WorkspaceDialogBoxView rather than implement IWorkspaceDialogBoxView directly.

Hide ( ) : void

Not implemented.

Open ( ) : void

Opens the workspace, adding the tab to the tab group.

SetTitle ( string title ) : void

Sets the title of the workspace.

Show ( ) : void

Not implemented.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes of this object.

WorkspaceView ( Workspace workspace, DesktopWindowView desktopView ) : System.Windows.Forms

Constructor.

Private Methods

Méthode Description
AddDialogBoxView ( WorkspaceDialogBoxView view ) : void
RemoveDialogBoxView ( WorkspaceDialogBoxView view ) : void

Method Details

Activate() public méthode

Activates the workspace, making the tab the selected tab.
public Activate ( ) : void
Résultat void

CreateDialogBoxView() public méthode

Creates a new view for the specified WorkspaceDialogBox.
Override this method if you want to return a custom implementation of IWorkspaceDialogBoxView. In practice, it is preferable to subclass WorkspaceDialogBoxView rather than implement IWorkspaceDialogBoxView directly.
public CreateDialogBoxView ( WorkspaceDialogBox dialogBox ) : IWorkspaceDialogBoxView
dialogBox WorkspaceDialogBox
Résultat IWorkspaceDialogBoxView

Dispose() protected méthode

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

Hide() public méthode

Not implemented.
public Hide ( ) : void
Résultat void

Open() public méthode

Opens the workspace, adding the tab to the tab group.
public Open ( ) : void
Résultat void

SetTitle() public méthode

Sets the title of the workspace.
public SetTitle ( string title ) : void
title string
Résultat void

Show() public méthode

Not implemented.
public Show ( ) : void
Résultat void

WorkspaceView() protected méthode

Constructor.
protected WorkspaceView ( Workspace workspace, DesktopWindowView desktopView ) : System.Windows.Forms
workspace Workspace
desktopView DesktopWindowView
Résultat System.Windows.Forms