C# Class Smrf.NodeXL.ExcelTemplate.MotifUserSettingsDialog

Edits a MotifUserSettings object.
Pass a MotifUserSettings 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
Exibir arquivo Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oMotifUserSettings MotifUserSettings
m_oMotifUserSettingsDialogUserSettings MotifUserSettingsDialogUserSettings

Public Methods

Method Description
AssertValid ( ) : void
MotifUserSettingsDialog ( MotifUserSettings motifUserSettings ) : 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
ShouldGroupByMotif ( Smrf eMotif ) : 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.

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

MotifUserSettingsDialog() public method

Initializes a new instance of the class.
public MotifUserSettingsDialog ( MotifUserSettings motifUserSettings ) : System
motifUserSettings MotifUserSettings /// The object being edited. ///
return System

ShouldGroupByMotif() protected method

protected ShouldGroupByMotif ( Smrf eMotif ) : System.Boolean
eMotif Smrf
return System.Boolean

Property Details

m_oMotifUserSettings protected_oe property

protected MotifUserSettings,Smrf.NodeXL.ExcelTemplate m_oMotifUserSettings
return MotifUserSettings

m_oMotifUserSettingsDialogUserSettings protected_oe property

protected MotifUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oMotifUserSettingsDialogUserSettings
return MotifUserSettingsDialogUserSettings