C# Class Smrf.NodeXL.ExcelTemplate.CalculateGraphMetricsDialog

Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Свойство Type Description
m_bActivateRelevantWorksheetWhenDone Boolean
m_oCalculateGraphMetricsDialogUserSettings CalculateGraphMetricsDialogUserSettings
m_oGraph IGraph
m_oGraphMetricCalculationManager GraphMetricCalculationManager
m_oGraphMetricCalculators IGraphMetricCalculator2[]
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Méthodes publiques

Méthode Description
AssertValid ( ) : void
CalculateGraphMetricsDialog ( IGraph graph, Microsoft workbook ) : System

Initializes a new instance of the class with a default list of graph metric calculators.

CalculateGraphMetricsDialog ( IGraph graph, Microsoft workbook, IGraphMetricCalculator2 graphMetricCalculators, String dialogTitle, Boolean activateRelevantWorksheetWhenDone ) : System

Initializes a new instance of the class with a specified list of graph metric calculators.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( Boolean bFromControls ) : Boolean
OnClosed ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
WriteGraphMetricColumnsToWorkbook ( GraphMetricColumn aoGraphMetricColumns ) : void

Private Methods

Méthode Description
GraphMetricCalculationManager_GraphMetricCalculationCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
GraphMetricCalculationManager_GraphMetricCalculationProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
InitializeComponent ( ) : void

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

btnCancel_Click ( object sender, EventArgs e ) : void

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

CalculateGraphMetricsDialog() public méthode

Initializes a new instance of the class with a default list of graph metric calculators.
public CalculateGraphMetricsDialog ( IGraph graph, Microsoft workbook ) : System
graph IGraph /// Graph to calculate the graph metrics for, or null. If null, the graph /// is read from . ///
workbook Microsoft /// Workbook where the graph metrics will get written. If is null, the graph is read from this workbook, too. ///
Résultat System

CalculateGraphMetricsDialog() public méthode

Initializes a new instance of the class with a specified list of graph metric calculators.
public CalculateGraphMetricsDialog ( IGraph graph, Microsoft workbook, IGraphMetricCalculator2 graphMetricCalculators, String dialogTitle, Boolean activateRelevantWorksheetWhenDone ) : System
graph IGraph /// Graph to calculate the graph metrics for, or null. If null, the graph /// is read from . ///
workbook Microsoft /// Workbook where the graph metrics will get written. If is null, the graph is read from this workbook, too. ///
graphMetricCalculators IGraphMetricCalculator2 /// An array of implementations, one /// for each set of graph metrics that should be calculated, or null to use /// a default list of graph metric calculators. ///
dialogTitle String /// Title for the dialog, or null to use a default title. ///
activateRelevantWorksheetWhenDone Boolean /// true to activate one of the worksheets to let the user know that graph /// metrics have been calculated. The worksheet to activate is determined /// by which columns were calculated. ///
Résultat System

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 ( Boolean bFromControls ) : Boolean
bFromControls Boolean
Résultat Boolean

OnClosed() protected méthode

protected OnClosed ( EventArgs e ) : void
e EventArgs
Résultat void

OnLoad() protected méthode

protected OnLoad ( EventArgs e ) : void
e EventArgs
Résultat void

WriteGraphMetricColumnsToWorkbook() protected méthode

protected WriteGraphMetricColumnsToWorkbook ( GraphMetricColumn aoGraphMetricColumns ) : void
aoGraphMetricColumns GraphMetricColumn
Résultat void

Property Details

m_bActivateRelevantWorksheetWhenDone protected_oe property

protected Boolean m_bActivateRelevantWorksheetWhenDone
Résultat Boolean

m_oCalculateGraphMetricsDialogUserSettings protected_oe property

protected CalculateGraphMetricsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oCalculateGraphMetricsDialogUserSettings
Résultat CalculateGraphMetricsDialogUserSettings

m_oGraph protected_oe property

protected IGraph m_oGraph
Résultat IGraph

m_oGraphMetricCalculationManager protected_oe property

protected GraphMetricCalculationManager,Smrf.NodeXL.ExcelTemplate m_oGraphMetricCalculationManager
Résultat GraphMetricCalculationManager

m_oGraphMetricCalculators protected_oe property

protected IGraphMetricCalculator2[] m_oGraphMetricCalculators
Résultat IGraphMetricCalculator2[]

m_oWorkbook protected_oe property

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