C# Class Smrf.NodeXL.ExcelTemplate.AutoFillWorkbookDialog

ファイルを表示 Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_aoEdgeSourceColumnNameComboBoxes Smrf.NodeXL.ExcelTemplate.EdgeColumnComboBox[]
m_aoGroupSourceColumnNameComboBoxes Smrf.NodeXL.ExcelTemplate.GroupColumnComboBox[]
m_aoVertexSourceColumnNameComboBoxes Smrf.NodeXL.ExcelTemplate.VertexColumnComboBox[]
m_eMode DialogMode
m_oAutoFillUserSettings AutoFillUserSettings
m_oAutoFillWorkbookDialogUserSettings AutoFillWorkbookDialogUserSettings
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Public Methods

Method Description
AssertValid ( ) : void
AutoFillWorkbookDialog ( DialogMode mode, Microsoft workbook ) : System

Initializes a new instance of the AutoFillWorkbookDialog class.

Protected Methods

Method Description
AskWarningQuestion ( String sWarningQuestion ) : Boolean
ClearColumn ( String sWorksheetName, String sTableName, String sColumnName, ComboBox oSourceColumnNameComboBox ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( Boolean bFromControls ) : Boolean
GetDestinationColumnNameFromComboBox ( ComboBox oComboBox ) : String
GetSourceColumnNameFromComboBox ( ComboBox oComboBox ) : String
InitializeEdgeComboBoxes ( Microsoft oWorkbook ) : void
InitializeGroupComboBoxes ( Microsoft oWorkbook ) : void
InitializeVertexComboBoxes ( Microsoft oWorkbook ) : void
OnDetailsClick ( System oDetailsButton, ComboBox oSourceColumnNameComboBox, String sColumnDescription, String sWorksheetName, String sTableName, String sColumnName, Form oUserSettingsDialog ) : void
ValidateSourceColumnNameComboBoxes ( ComboBox aoSourceColumnNameComboBoxes ) : Boolean

Private Methods

Method Description
AutoFillWorkbookDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void
InitializeComponent ( ) : void

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

btnAutoFill_Click ( object sender, System e ) : void
btnClearAllColumns_Click ( object sender, EventArgs e ) : void
btnClose_Click ( object sender, EventArgs e ) : void
btnEdgeAlphaDetails_Click ( object sender, EventArgs e ) : void
btnEdgeColorDetails_Click ( object sender, EventArgs e ) : void
btnEdgeLabelDetails_Click ( object sender, EventArgs e ) : void
btnEdgeStyleDetails_Click ( object sender, EventArgs e ) : void
btnEdgeVisibilityDetails_Click ( object sender, EventArgs e ) : void
btnEdgeWidthDetails_Click ( object sender, EventArgs e ) : void
btnGroupCollapsedDetails_Click ( object sender, EventArgs e ) : void
btnGroupLabelDetails_Click ( object sender, EventArgs e ) : void
btnResetAll_Click ( object sender, EventArgs e ) : void
btnVertexAlphaDetails_Click ( object sender, EventArgs e ) : void
btnVertexColorDetails_Click ( object sender, EventArgs e ) : void
btnVertexLabelDetails_Click ( object sender, EventArgs e ) : void
btnVertexLabelFillColorDetails_Click ( object sender, EventArgs e ) : void
btnVertexLabelPositionDetails_Click ( object sender, EventArgs e ) : void
btnVertexLayoutOrderDetails_Click ( object sender, EventArgs e ) : void
btnVertexPolarAngleDetails_Click ( object sender, EventArgs e ) : void
btnVertexPolarRDetails_Click ( object sender, EventArgs e ) : void
btnVertexRadiusDetails_Click ( object sender, EventArgs e ) : void
btnVertexShapeDetails_Click ( object sender, EventArgs e ) : void
btnVertexToolTipDetails_Click ( object sender, EventArgs e ) : void
btnVertexVisibilityDetails_Click ( object sender, EventArgs e ) : void
btnVertexXDetails_Click ( object sender, EventArgs e ) : void
btnVertexYDetails_Click ( object sender, EventArgs e ) : void
tsmClearColumn_Click ( object sender, EventArgs e ) : void
tsmWorksheetColumnDetails_Click ( object sender, EventArgs e ) : void

Method Details

AskWarningQuestion() protected method

protected AskWarningQuestion ( String sWarningQuestion ) : Boolean
sWarningQuestion String
return Boolean

AssertValid() public method

public AssertValid ( ) : void
return void

AutoFillWorkbookDialog() public method

Initializes a new instance of the AutoFillWorkbookDialog class.
public AutoFillWorkbookDialog ( DialogMode mode, Microsoft workbook ) : System
mode DialogMode /// Indicates the mode in which the dialog is being used. ///
workbook Microsoft /// Workbook containing the graph data. ///
return System

ClearColumn() protected method

protected ClearColumn ( String sWorksheetName, String sTableName, String sColumnName, ComboBox oSourceColumnNameComboBox ) : void
sWorksheetName String
sTableName String
sColumnName String
oSourceColumnNameComboBox ComboBox
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 ( Boolean bFromControls ) : Boolean
bFromControls Boolean
return Boolean

GetDestinationColumnNameFromComboBox() protected method

protected GetDestinationColumnNameFromComboBox ( ComboBox oComboBox ) : String
oComboBox ComboBox
return String

GetSourceColumnNameFromComboBox() protected method

protected GetSourceColumnNameFromComboBox ( ComboBox oComboBox ) : String
oComboBox ComboBox
return String

InitializeEdgeComboBoxes() protected method

protected InitializeEdgeComboBoxes ( Microsoft oWorkbook ) : void
oWorkbook Microsoft
return void

InitializeGroupComboBoxes() protected method

protected InitializeGroupComboBoxes ( Microsoft oWorkbook ) : void
oWorkbook Microsoft
return void

InitializeVertexComboBoxes() protected method

protected InitializeVertexComboBoxes ( Microsoft oWorkbook ) : void
oWorkbook Microsoft
return void

OnDetailsClick() protected method

protected OnDetailsClick ( System oDetailsButton, ComboBox oSourceColumnNameComboBox, String sColumnDescription, String sWorksheetName, String sTableName, String sColumnName, Form oUserSettingsDialog ) : void
oDetailsButton System
oSourceColumnNameComboBox ComboBox
sColumnDescription String
sWorksheetName String
sTableName String
sColumnName String
oUserSettingsDialog Form
return void

ValidateSourceColumnNameComboBoxes() protected method

protected ValidateSourceColumnNameComboBoxes ( ComboBox aoSourceColumnNameComboBoxes ) : Boolean
aoSourceColumnNameComboBoxes ComboBox
return Boolean

Property Details

m_aoEdgeSourceColumnNameComboBoxes protected_oe property

protected EdgeColumnComboBox[],Smrf.NodeXL.ExcelTemplate m_aoEdgeSourceColumnNameComboBoxes
return Smrf.NodeXL.ExcelTemplate.EdgeColumnComboBox[]

m_aoGroupSourceColumnNameComboBoxes protected_oe property

protected GroupColumnComboBox[],Smrf.NodeXL.ExcelTemplate m_aoGroupSourceColumnNameComboBoxes
return Smrf.NodeXL.ExcelTemplate.GroupColumnComboBox[]

m_aoVertexSourceColumnNameComboBoxes protected_oe property

protected VertexColumnComboBox[],Smrf.NodeXL.ExcelTemplate m_aoVertexSourceColumnNameComboBoxes
return Smrf.NodeXL.ExcelTemplate.VertexColumnComboBox[]

m_eMode protected_oe property

protected DialogMode m_eMode
return DialogMode

m_oAutoFillUserSettings protected_oe property

protected AutoFillUserSettings,Smrf.NodeXL.ExcelTemplate m_oAutoFillUserSettings
return AutoFillUserSettings

m_oAutoFillWorkbookDialogUserSettings protected_oe property

protected AutoFillWorkbookDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oAutoFillWorkbookDialogUserSettings
return AutoFillWorkbookDialogUserSettings

m_oWorkbook protected_oe property

protected Workbook,Microsoft.Office.Interop.Excel m_oWorkbook
return Microsoft.Office.Interop.Excel.Workbook