C# Class SEToolbox.Services.OpenFileDialog

Class wrapping System.Windows.Forms.OpenFileDialog, making it accept a IOpenFileDialog.
Inheritance: IDisposable
Afficher le fichier Open project: midspace/SEToolbox

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

OpenFileDialog ( IOpenFileDialog openFileDialog ) : System

Initializes a new instance of the OpenFileDialog class.

ShowDialog ( IWin32Window owner ) : DialogResult

Runs a common dialog box with the specified owner.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OpenFileDialog() public méthode

Initializes a new instance of the OpenFileDialog class.
public OpenFileDialog ( IOpenFileDialog openFileDialog ) : System
openFileDialog IOpenFileDialog The interface of a open file dialog.
Résultat System

ShowDialog() public méthode

Runs a common dialog box with the specified owner.
public ShowDialog ( IWin32Window owner ) : DialogResult
owner IWin32Window /// Any object that implements System.Windows.Forms.IWin32Window that represents the top-level /// window that will own the modal dialog box. ///
Résultat DialogResult