C# Class Smrf.NodeXL.ExcelTemplate.LabelUserSettingsDialog

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

Protected Properties

Property Type Description
m_oFont System.Drawing.Font
m_oLabelUserSettings LabelUserSettings
m_oLabelUserSettingsDialogUserSettings LabelUserSettingsDialogUserSettings

Public Methods

Method Description
AssertValid ( ) : void
LabelUserSettingsDialog ( LabelUserSettings labelUserSettings ) : 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.

btnFont_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, System e ) : void
chkVertexLabelWrapText_CheckedChanged ( 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

LabelUserSettingsDialog() public method

Initializes a new instance of the class.
public LabelUserSettingsDialog ( LabelUserSettings labelUserSettings ) : System
labelUserSettings LabelUserSettings /// The object being edited. ///
return System

Property Details

m_oFont protected_oe property

protected Font,System.Drawing m_oFont
return System.Drawing.Font

m_oLabelUserSettings protected_oe property

protected LabelUserSettings,Smrf.NodeXL.ExcelTemplate m_oLabelUserSettings
return LabelUserSettings

m_oLabelUserSettingsDialogUserSettings protected_oe property

protected LabelUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oLabelUserSettingsDialogUserSettings
return LabelUserSettingsDialogUserSettings