C# Class Smrf.NodeXL.ExcelTemplate.ColorColumnAutoFillUserSettingsDialog

Edits a ColorColumnAutoFillUserSettings object.
Pass a ColorColumnAutoFillUserSettings object to the constructor. If the user edits the object, returns DialogResult.OK. Otherwise, the object is not modified and Form.ShowDialog() returns DialogResult.Cancel.
Inheritance: ExcelTemplateForm
ファイルを表示 Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oColorColumnAutoFillUserSettings ColorColumnAutoFillUserSettings
m_oColorColumnAutoFillUserSettingsDialogUserSettings ColorColumnAutoFillUserSettingsDialogUserSettings

Public Methods

Method Description
AssertValid ( ) : void
ColorColumnAutoFillUserSettingsDialog ( ColorColumnAutoFillUserSettings colorColumnAutoFillUserSettings, String dialogCaption ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
EnableControls ( ) : void
UpdateColorGradient ( ) : void

Private Methods

Method Description
ColorPicker_ColorChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnEventThatRequiresControlEnabling ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, System e ) : void
btnSwapDestinationColors_Click ( object sender, EventArgs e ) : void

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

ColorColumnAutoFillUserSettingsDialog() public method

Initializes a new instance of the class.
public ColorColumnAutoFillUserSettingsDialog ( ColorColumnAutoFillUserSettings colorColumnAutoFillUserSettings, String dialogCaption ) : System
colorColumnAutoFillUserSettings ColorColumnAutoFillUserSettings /// Object to edit. ///
dialogCaption String /// Dialog caption. ///
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DoDataExchange() protected method

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
return System.Boolean

EnableControls() protected method

protected EnableControls ( ) : void
return void

UpdateColorGradient() protected method

protected UpdateColorGradient ( ) : void
return void

Property Details

m_oColorColumnAutoFillUserSettings protected_oe property

protected ColorColumnAutoFillUserSettings,Smrf.NodeXL.ExcelTemplate m_oColorColumnAutoFillUserSettings
return ColorColumnAutoFillUserSettings

m_oColorColumnAutoFillUserSettingsDialogUserSettings protected_oe property

protected ColorColumnAutoFillUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oColorColumnAutoFillUserSettingsDialogUserSettings
return ColorColumnAutoFillUserSettingsDialogUserSettings