C# Class Smrf.NodeXL.ExcelTemplate.GeneralUserSettingsDialog

Edits a GeneralUserSettings object.
Pass a GeneralUserSettings 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_oAxisFont System.Drawing.Font
m_oGeneralUserSettings GeneralUserSettings
m_oGeneralUserSettingsDialogUserSettings GeneralUserSettingsDialogUserSettings
m_oLabelUserSettings LabelUserSettings
m_oOpenFileDialog System.Windows.Forms.OpenFileDialog
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Méthodes publiques

Méthode Description
AssertValid ( ) : void
GeneralUserSettingsDialog ( GeneralUserSettings generalUserSettings, Microsoft workbook ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
DoDataExchangeEdgeCurvature ( System.Boolean bFromControls ) : System.Boolean
DoDataExchangeVertexEffect ( System.Boolean bFromControls ) : System.Boolean
EnableControls ( ) : void

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
btnAxisFont_Click ( object sender, EventArgs e ) : void
btnBrowseBackgroundImageUri_Click ( object sender, EventArgs e ) : void
btnCustomizeVertexMenu_Click ( object sender, EventArgs e ) : void
btnLabels_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, System e ) : void
btnResetAll_Click ( object sender, EventArgs e ) : void

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
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

DoDataExchangeEdgeCurvature() protected méthode

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

DoDataExchangeVertexEffect() protected méthode

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

EnableControls() protected méthode

protected EnableControls ( ) : void
Résultat void

GeneralUserSettingsDialog() public méthode

Initializes a new instance of the class.
public GeneralUserSettingsDialog ( GeneralUserSettings generalUserSettings, Microsoft workbook ) : System
generalUserSettings GeneralUserSettings /// The object being edited. ///
workbook Microsoft /// Workbook containing the graph data. ///
Résultat System

Property Details

m_oAxisFont protected_oe property

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

m_oGeneralUserSettings protected_oe property

protected GeneralUserSettings,Smrf.NodeXL.ExcelTemplate m_oGeneralUserSettings
Résultat GeneralUserSettings

m_oGeneralUserSettingsDialogUserSettings protected_oe property

protected GeneralUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oGeneralUserSettingsDialogUserSettings
Résultat GeneralUserSettingsDialogUserSettings

m_oLabelUserSettings protected_oe property

protected LabelUserSettings,Smrf.NodeXL.ExcelTemplate m_oLabelUserSettings
Résultat LabelUserSettings

m_oOpenFileDialog protected_oe property

protected OpenFileDialog,System.Windows.Forms m_oOpenFileDialog
Résultat System.Windows.Forms.OpenFileDialog

m_oWorkbook protected_oe property

protected Microsoft.Office.Interop.Excel.Workbook m_oWorkbook
Résultat Microsoft.Office.Interop.Excel.Workbook