C# Class Smrf.NodeXL.ExcelTemplate.GraphImageUserSettingsDialog

Edits a GraphImageUserSettings object.
Pass a GraphImageUserSettings 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
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Свойство Type Description
m_bCalculatingHeightOrWidth System.Boolean
m_oGraphImageUserSettings GraphImageUserSettings
m_oGraphImageUserSettingsDialogUserSettings GraphImageUserSettingsDialogUserSettings
m_oHeaderFooterFont System.Drawing.Font
m_oNodeXLControlSizePx System.Drawing.Size

Méthodes publiques

Méthode Description
AssertValid ( ) : void
GraphImageUserSettingsDialog ( GraphImageUserSettings graphImageUserSettings, Size nodeXLControlSizePx ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
CalculateWidthOrHeight ( System.Boolean bCalculateWidth ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
EnableControls ( ) : void
ValidateHeight ( Int32 &iHeight ) : System.Boolean
ValidateWidth ( Int32 &iWidth ) : System.Boolean

Private Methods

Méthode 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
OnWidthOrHeightValueChanged ( object sender, EventArgs e ) : void
btnHeaderFooterFont_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, System e ) : void
chkPreserveAspectRatio_CheckedChanged ( object sender, EventArgs e ) : void

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

CalculateWidthOrHeight() protected méthode

protected CalculateWidthOrHeight ( System.Boolean bCalculateWidth ) : void
bCalculateWidth System.Boolean
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

DoDataExchange() protected méthode

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
Résultat System.Boolean

EnableControls() protected méthode

protected EnableControls ( ) : void
Résultat void

GraphImageUserSettingsDialog() public méthode

Initializes a new instance of the class.
public GraphImageUserSettingsDialog ( GraphImageUserSettings graphImageUserSettings, Size nodeXLControlSizePx ) : System
graphImageUserSettings GraphImageUserSettings /// The object being edited. ///
nodeXLControlSizePx System.Drawing.Size /// The size of the NodeXLControl, in pixels. ///
Résultat System

ValidateHeight() protected méthode

protected ValidateHeight ( Int32 &iHeight ) : System.Boolean
iHeight System.Int32
Résultat System.Boolean

ValidateWidth() protected méthode

protected ValidateWidth ( Int32 &iWidth ) : System.Boolean
iWidth System.Int32
Résultat System.Boolean

Property Details

m_bCalculatingHeightOrWidth protected_oe property

protected Boolean,System m_bCalculatingHeightOrWidth
Résultat System.Boolean

m_oGraphImageUserSettings protected_oe property

protected GraphImageUserSettings,Smrf.NodeXL.ExcelTemplate m_oGraphImageUserSettings
Résultat GraphImageUserSettings

m_oGraphImageUserSettingsDialogUserSettings protected_oe property

protected GraphImageUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oGraphImageUserSettingsDialogUserSettings
Résultat GraphImageUserSettingsDialogUserSettings

m_oHeaderFooterFont protected_oe property

protected Font,System.Drawing m_oHeaderFooterFont
Résultat System.Drawing.Font

m_oNodeXLControlSizePx protected_oe property

protected Size,System.Drawing m_oNodeXLControlSizePx
Résultat System.Drawing.Size