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

WinForms implementation of IShelfView.

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.CreateShelfView method.

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

Inheritance: ClearCanvas.Desktop.View.WinForms.DesktopObjectView, IShelfView
显示文件 Open project: jasper-yeh/ClearCanvas Class Usage Examples

Public Methods

Method Description
Activate ( ) : void

Activates the shelf.

Hide ( ) : void

Hides the shelf.

Open ( ) : void

Opens this shelf view.

SaveState ( ) : void
SetTitle ( string title ) : void

Sets the title of the shelf.

Show ( ) : void

Shows the shelf.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes of this object.

ShelfView ( Shelf shelf, DesktopWindowView desktopView ) : System.Windows.Forms

Constructor.

Method Details

Activate() public method

Activates the shelf.
public Activate ( ) : void
return void

Dispose() protected method

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

Hide() public method

Hides the shelf.
public Hide ( ) : void
return void

Open() public method

Opens this shelf view.
public Open ( ) : void
return void

SaveState() public method

public SaveState ( ) : void
return void

SetTitle() public method

Sets the title of the shelf.
public SetTitle ( string title ) : void
title string
return void

ShelfView() protected method

Constructor.
protected ShelfView ( Shelf shelf, DesktopWindowView desktopView ) : System.Windows.Forms
shelf ClearCanvas.Desktop.Shelf
desktopView DesktopWindowView
return System.Windows.Forms

Show() public method

Shows the shelf.
public Show ( ) : void
return void