C# Class Smrf.NodeXL.ExcelTemplate.AnalyzeEmailNetworkDialog

Dialog that analyzes a user's email network and writes the results to the edge worksheet.
Call Form.ShowDialog() to show the dialog. When the user clicks the OK button, the workbook is automatically updated and DialogResult.OK is returned. Otherwise, DialogResult.Cancel is returned.

An EmailNetworkAnalyzer object does most of the work. The analysis is done asynchronously, so it doesn't hang the UI and can be cancelled by the user.

Inheritance: ExcelTemplateForm
Afficher le fichier Open project: 2014-sed-team3/term-project

Protected Properties

Свойство Type Description
m_bClearTablesFirst System.Boolean
m_oAnalyzeEmailNetworkDialogUserSettings AnalyzeEmailNetworkDialogUserSettings
m_oEdgeTable ListObject
m_oEmailNetworkAnalyzer Smrf.SocialNetworkLib.EmailNetworkAnalyzer
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Méthodes publiques

Méthode Description
AnalyzeEmailNetworkDialog ( Microsoft workbook, System.Boolean clearTablesFirst ) : System

Initializes a new instance of the class.

AssertValid ( ) : void

Méthodes protégées

Méthode Description
AnalyzerToParticipant ( String sParticipantFromAnalyzer ) : String
DataGridViewCheckBoxCellIsChecked ( System.Windows.Forms.DataGridViewRow oRow, String sColumnName ) : System.Boolean
DataGridViewRowToEmailParticipantCriteria ( System.Windows.Forms.DataGridViewRow oRow ) : EmailParticipantCriteria
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
DoDataExchangeFromControls ( ) : System.Boolean
DoDataExchangeFromParticipants ( ) : void
DoDataExchangeToControls ( ) : void
DoDataExchangeToParticipants ( ) : void
EnableControls ( ) : void
FirstParticipantSpecified ( ) : System.Boolean
OnAnalysisCompleted ( RunWorkerCompletedEventArgs e ) : void
OnClosed ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
ParticipantToAnalyzer ( String sParticipantEnteredByUser ) : String
PopulateEdgesTable ( EmailParticipantPair aoEmailParticipantPairs ) : void
SetEdgeWeightValues ( Object aoEdgeWeights, Int32 iRowOffsetToWriteTo ) : void
ShowParticipantsEnabledState ( ) : void
StartAnalysis ( ) : void
ValidateFilter ( String sString ) : System.Boolean
ValidateFilterTextBox ( System.Boolean bCheckBoxIsChecked, System oTextBox, String sFilterDescription, String &sTrimmedText ) : System.Boolean
ValidateParticipants ( ) : System.Boolean

Private Methods

Méthode Description
EmailNetworkAnalyzer_AnalysisCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
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, EventArgs e ) : void

Method Details

AnalyzeEmailNetworkDialog() public méthode

Initializes a new instance of the class.
public AnalyzeEmailNetworkDialog ( Microsoft workbook, System.Boolean clearTablesFirst ) : System
workbook Microsoft /// Workbook containing the graph data. ///
clearTablesFirst System.Boolean /// true if the NodeXL tables in should be /// cleared first. ///
Résultat System

AnalyzerToParticipant() protected méthode

protected AnalyzerToParticipant ( String sParticipantFromAnalyzer ) : String
sParticipantFromAnalyzer String
Résultat String

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

DataGridViewCheckBoxCellIsChecked() protected méthode

protected DataGridViewCheckBoxCellIsChecked ( System.Windows.Forms.DataGridViewRow oRow, String sColumnName ) : System.Boolean
oRow System.Windows.Forms.DataGridViewRow
sColumnName String
Résultat System.Boolean

DataGridViewRowToEmailParticipantCriteria() protected méthode

protected DataGridViewRowToEmailParticipantCriteria ( System.Windows.Forms.DataGridViewRow oRow ) : EmailParticipantCriteria
oRow System.Windows.Forms.DataGridViewRow
Résultat Smrf.SocialNetworkLib.EmailParticipantCriteria

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

DoDataExchangeFromControls() protected méthode

protected DoDataExchangeFromControls ( ) : System.Boolean
Résultat System.Boolean

DoDataExchangeFromParticipants() protected méthode

protected DoDataExchangeFromParticipants ( ) : void
Résultat void

DoDataExchangeToControls() protected méthode

protected DoDataExchangeToControls ( ) : void
Résultat void

DoDataExchangeToParticipants() protected méthode

protected DoDataExchangeToParticipants ( ) : void
Résultat void

EnableControls() protected méthode

protected EnableControls ( ) : void
Résultat void

FirstParticipantSpecified() protected méthode

protected FirstParticipantSpecified ( ) : System.Boolean
Résultat System.Boolean

OnAnalysisCompleted() protected méthode

protected OnAnalysisCompleted ( RunWorkerCompletedEventArgs e ) : void
e System.ComponentModel.RunWorkerCompletedEventArgs
Résultat void

OnClosed() protected méthode

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

OnLoad() protected méthode

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

ParticipantToAnalyzer() protected méthode

protected ParticipantToAnalyzer ( String sParticipantEnteredByUser ) : String
sParticipantEnteredByUser String
Résultat String

PopulateEdgesTable() protected méthode

protected PopulateEdgesTable ( EmailParticipantPair aoEmailParticipantPairs ) : void
aoEmailParticipantPairs Smrf.SocialNetworkLib.EmailParticipantPair
Résultat void

SetEdgeWeightValues() protected méthode

protected SetEdgeWeightValues ( Object aoEdgeWeights, Int32 iRowOffsetToWriteTo ) : void
aoEdgeWeights Object
iRowOffsetToWriteTo System.Int32
Résultat void

ShowParticipantsEnabledState() protected méthode

protected ShowParticipantsEnabledState ( ) : void
Résultat void

StartAnalysis() protected méthode

protected StartAnalysis ( ) : void
Résultat void

ValidateFilter() protected méthode

protected ValidateFilter ( String sString ) : System.Boolean
sString String
Résultat System.Boolean

ValidateFilterTextBox() protected méthode

protected ValidateFilterTextBox ( System.Boolean bCheckBoxIsChecked, System oTextBox, String sFilterDescription, String &sTrimmedText ) : System.Boolean
bCheckBoxIsChecked System.Boolean
oTextBox System
sFilterDescription String
sTrimmedText String
Résultat System.Boolean

ValidateParticipants() protected méthode

protected ValidateParticipants ( ) : System.Boolean
Résultat System.Boolean

Property Details

m_bClearTablesFirst protected_oe property

protected Boolean,System m_bClearTablesFirst
Résultat System.Boolean

m_oAnalyzeEmailNetworkDialogUserSettings protected_oe property

protected AnalyzeEmailNetworkDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oAnalyzeEmailNetworkDialogUserSettings
Résultat AnalyzeEmailNetworkDialogUserSettings

m_oEdgeTable protected_oe property

protected ListObject m_oEdgeTable
Résultat ListObject

m_oEmailNetworkAnalyzer protected_oe property

protected EmailNetworkAnalyzer,Smrf.SocialNetworkLib m_oEmailNetworkAnalyzer
Résultat Smrf.SocialNetworkLib.EmailNetworkAnalyzer

m_oWorkbook protected_oe property

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