C# Class Smrf.NodeXL.ExcelTemplate.ClusterUserSettingsDialog

Edits a ClusterUserSettings object.
Pass a ClusterUserSettings 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
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_oClusterUserSettings ClusterUserSettings
m_oClusterUserSettingsDialogUserSettings ClusterUserSettingsDialogUserSettings

Public Methods

Method Description
AssertValid ( ) : void
ClusterUserSettingsDialog ( DialogMode mode, ClusterUserSettings clusterUserSettings ) : 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

Private Methods

Method Description
InitializeComponent ( ) : void

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

btnOK_Click ( object sender, System e ) : void

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

ClusterUserSettingsDialog() public method

Initializes a new instance of the class.
public ClusterUserSettingsDialog ( DialogMode mode, ClusterUserSettings clusterUserSettings ) : System
mode DialogMode /// Indicates the mode in which the dialog is being used. ///
clusterUserSettings ClusterUserSettings /// The object being edited. ///
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

Property Details

m_oClusterUserSettings protected property

protected ClusterUserSettings,Smrf.NodeXL.ExcelTemplate m_oClusterUserSettings
return ClusterUserSettings

m_oClusterUserSettingsDialogUserSettings protected property

protected ClusterUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oClusterUserSettingsDialogUserSettings
return ClusterUserSettingsDialogUserSettings