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

WinForms implementation of IDialogBoxView.

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

Reasons for subclassing may include: overriding the CreateDialogBoxForm factory method to supply a custom subclass of the DialogBoxForm class.

Inheritance: ClearCanvas.Desktop.View.WinForms.DesktopObjectView, IDialogBoxView
Afficher le fichier Open project: jasper-yeh/ClearCanvas

Méthodes publiques

Méthode Description
Activate ( ) : void

Not used.

Hide ( ) : void

Not used.

Open ( ) : void

Not used.

RunModal ( ) : DialogBoxAction

Runs the modal dialog.

SetTitle ( string title ) : void

Sets the title of the dialog box.

Show ( ) : void

Not used.

Méthodes protégées

Méthode Description
CreateDialogBoxForm ( DialogBox dialogBox, Control content ) : ClearCanvas.Desktop.View.WinForms.DialogBoxForm

Called to create an instance of a DialogBoxForm for use by this view.

DialogBoxView ( DialogBox dialogBox, DesktopWindowView owner ) : System

Constructor.

Dispose ( bool disposing ) : void

Disposes of this object.

Private Methods

Méthode Description
DisposeForm ( ) : void
_form_FormClosing ( object sender, FormClosingEventArgs e ) : void

Method Details

Activate() public méthode

Not used.
public Activate ( ) : void
Résultat void

CreateDialogBoxForm() protected méthode

Called to create an instance of a DialogBoxForm for use by this view.
protected CreateDialogBoxForm ( DialogBox dialogBox, Control content ) : ClearCanvas.Desktop.View.WinForms.DialogBoxForm
dialogBox DialogBox
content System.Windows.Forms.Control
Résultat ClearCanvas.Desktop.View.WinForms.DialogBoxForm

DialogBoxView() protected méthode

Constructor.
protected DialogBoxView ( DialogBox dialogBox, DesktopWindowView owner ) : System
dialogBox DialogBox
owner DesktopWindowView
Résultat System

Dispose() protected méthode

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

Hide() public méthode

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

Open() public méthode

Not used.
public Open ( ) : void
Résultat void

RunModal() public méthode

Runs the modal dialog.
public RunModal ( ) : DialogBoxAction
Résultat DialogBoxAction

SetTitle() public méthode

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

Show() public méthode

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