C# Class Smrf.NodeXL.ExcelTemplate.WordMetricUserSettingsDialog

Edits a WordMetricUserSettings object.
Pass a WordMetricUserSettings object to the constructor. If the user edits the object, Form.ShowDialog() returns DialogResult.OK. Otherwise, the object is not modified and returns DialogResult.Cancel.
Inheritance: ExcelTemplateForm
Datei anzeigen Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oWordMetricUserSettings WordMetricUserSettings
m_oWordMetricUserSettingsDialogUserSettings WordMetricUserSettingsDialogUserSettings

Public Methods

Method Description
AssertValid ( ) : void
WordMetricUserSettingsDialog ( WordMetricUserSettings wordMetricUserSettings, Microsoft workbook ) : 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

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

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

WordMetricUserSettingsDialog() public method

Initializes a new instance of the class.
public WordMetricUserSettingsDialog ( WordMetricUserSettings wordMetricUserSettings, Microsoft workbook ) : System
wordMetricUserSettings WordMetricUserSettings /// The object being edited. ///
workbook Microsoft /// Workbook containing the graph contents. ///
return System

Property Details

m_oWordMetricUserSettings protected_oe property

protected WordMetricUserSettings,Smrf.NodeXL.ExcelTemplate m_oWordMetricUserSettings
return WordMetricUserSettings

m_oWordMetricUserSettingsDialogUserSettings protected_oe property

protected WordMetricUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oWordMetricUserSettingsDialogUserSettings
return WordMetricUserSettingsDialogUserSettings