C# Class SEToolbox.Services.ColorDialog

Class wrapping System.Windows.Forms.ColorDialog, making it accept a IColorDialog.
Inheritance: IDisposable
ファイルを表示 Open project: midspace/SEToolbox

Public Methods

Method Description
ColorDialog ( IColorDialog colorDialog ) : System

Initializes a new instance of the ColorDialog class.

Dispose ( ) : void

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

ShowDialog ( System owner ) : System.Windows.Forms.DialogResult

Runs a common dialog box with the specified owner.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

ColorDialog() public method

Initializes a new instance of the ColorDialog class.
public ColorDialog ( IColorDialog colorDialog ) : System
colorDialog IColorDialog The interface of a color dialog.
return System

Dispose() public method

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

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ShowDialog() public method

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