C# Class Smrf.NodeXL.ExcelTemplate.NumericRangeColumnAutoFillUserSettingsDialog

Edits a NumericRangeColumnAutoFillUserSettings object.
Pass a NumericRangeColumnAutoFillUserSettings 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
Datei anzeigen Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oNumericRangeColumnAutoFillUserSettings NumericRangeColumnAutoFillUserSettings
m_oNumericRangeColumnAutoFillUserSettingsDialogUserSettings NumericRangeColumnAutoFillUserSettingsDialogUserSettings

Public Methods

Method Description
AssertValid ( ) : void
NumericRangeColumnAutoFillUserSettingsDialog ( ) : System

Initializes a new instance of the class for the Visual Studio designer.

Do not use this constructor. It is for use by the Visual Studio designer only.

NumericRangeColumnAutoFillUserSettingsDialog ( NumericRangeColumnAutoFillUserSettings numericRangeColumnAutoFillUserSettings, String dialogCaption, String destinationColumnName, String destinationColumnNamePlural, Double minimumDestinationNumber, Double maximumDestinationNumber ) : System

Initializes a new instance of the class with a NumericRangeColumnAutoFillUserSettings object.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Private Methods

Method Description
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
btnSwapDestinationNumbers_Click ( object sender, EventArgs e ) : void

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

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

NumericRangeColumnAutoFillUserSettingsDialog() public method

Initializes a new instance of the class for the Visual Studio designer.
Do not use this constructor. It is for use by the Visual Studio designer only.
public NumericRangeColumnAutoFillUserSettingsDialog ( ) : System
return System

NumericRangeColumnAutoFillUserSettingsDialog() public method

Initializes a new instance of the class with a NumericRangeColumnAutoFillUserSettings object.
public NumericRangeColumnAutoFillUserSettingsDialog ( NumericRangeColumnAutoFillUserSettings numericRangeColumnAutoFillUserSettings, String dialogCaption, String destinationColumnName, String destinationColumnNamePlural, Double minimumDestinationNumber, Double maximumDestinationNumber ) : System
numericRangeColumnAutoFillUserSettings NumericRangeColumnAutoFillUserSettings /// Object to edit. ///
dialogCaption String /// Dialog caption. ///
destinationColumnName String /// The name of the destination column, suitable for use as the placeholder /// in DestinationLabel1 and DestinationLabel2. Can't be null or empty. /// Sample: "vertex opacity". ///
destinationColumnNamePlural String /// Plural and possibly abbreviated form of , suitable for use as the placeholder in /// the "swap destination numbers" button. Can't be null or empty. /// Sample: "Opacities". ///
minimumDestinationNumber Double /// Minimum value of a cell in the destination column. ///
maximumDestinationNumber Double /// Maximum value of a cell in the destination column. ///
return System

Property Details

m_oNumericRangeColumnAutoFillUserSettings protected_oe property

protected NumericRangeColumnAutoFillUserSettings,Smrf.NodeXL.ExcelTemplate m_oNumericRangeColumnAutoFillUserSettings
return NumericRangeColumnAutoFillUserSettings

m_oNumericRangeColumnAutoFillUserSettingsDialogUserSettings protected_oe property

protected NumericRangeColumnAutoFillUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oNumericRangeColumnAutoFillUserSettingsDialogUserSettings
return NumericRangeColumnAutoFillUserSettingsDialogUserSettings