C# Class Smrf.NodeXL.ExcelTemplate.DynamicFilterDialog

Datei anzeigen Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_bHandleControlEvents Boolean
m_oChangeEventDelayTimer Timer
m_oDynamicFilterDialogUserSettings DynamicFilterDialogUserSettings
m_oDynamicFilterSettings DynamicFilterSettings
m_oEdgeDynamicFilterColumnData Microsoft.Office.Interop.Excel.Range
m_oExcelCalculationRestorer ExcelCalculationRestorer
m_oVertexDynamicFilterColumnData Microsoft.Office.Interop.Excel.Range
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Public Methods

Method Description
AssertValid ( ) : void
DynamicFilterDialog ( ) : System

Initializes a new instance of the class for the Visual Studio designer.

Do not use this constructor. It is for use by the Visual Studio designer only.

DynamicFilterDialog ( Microsoft workbook ) : System

Initializes a new instance of the class with a workbook.

GetDynamicFilterRangeTrackBars ( ICollection &edgeDynamicFilterRangeTrackBars, ICollection &vertexDynamicFilterRangeTrackBars ) : void

Protected Methods

Method Description
AddDynamicFilterFormulaToTable ( String sWorksheetName, String sTableName, String sDynamicFilterFormula ) : Microsoft.Office.Interop.Excel.Range
AddDynamicFilterTableColumn ( Microsoft oTable ) : Microsoft.Office.Interop.Excel.Range
AddHistogramImageToPictureBox ( String sWorksheetName, DynamicFilterParameters oDynamicFilterParameters, PictureBoxPlus oPictureBox ) : void
AddHistogramToGroupBox ( String sWorksheetName, DynamicFilterParameters oDynamicFilterParameters, GroupBox oGroupBox, Int32 iX, Int32 &iY ) : PictureBox
AddLabelToGroupBox ( DynamicFilterParameters oDynamicFilterParameters, GroupBox oGroupBox, Int32 iX, Int32 iY ) : Label
AddRangeTrackBarToGroupBox ( NumericFilterParameters oNumericFilterParameters, String sTableName, GroupBox oGroupBox, StringBuilder oDynamicFilterConditions, Int32 iX, Int32 &iY ) : IDynamicFilterRangeTrackBar
AppendConditions ( StringBuilder oDynamicFilterConditions, String sColumnName, String sSelectedMinimumAddress, String sSelectedMaximumAddress ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

EscapeColumnName ( String sColumnName ) : String
FireDynamicFilterColumnsChanged ( DynamicFilterColumns eDynamicFilterColumns ) : void
FireFilteredAlphaChanged ( ) : void
GetRangeTrackBarRanges ( NumericFilterParameters oNumericFilterParameters, String sTableName, Decimal &decAvailableMinimum, Decimal &decAvailableMaximum, Decimal &decSelectedMinimum, Decimal &decSelectedMaximum, String &sSelectedMinimumAddress, String &sSelectedMaximumAddress ) : void
InitializeAndRecalculateDynamicFilterColumns ( ) : void
InitializeDynamicFilters ( ) : void
InitializeDynamicFiltersForOneTable ( String sWorksheetName, String sTableName, GroupBox oGroupBox ) : Microsoft.Office.Interop.Excel.Range
OnClosed ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnSelectedRangeChanged ( IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar ) : void
RangeTrackBar_SelectedRangeChanged ( object sender, EventArgs e ) : void
RecalculateDynamicFilterColumns ( DynamicFilterColumns eDynamicFilterColumns ) : void
ResetAllDynamicFilters ( ) : void
SetManualCalculation ( ) : void
StartChangeEventDelayTimer ( Object oChangedControl ) : void
m_oChangeEventDelayTimer_Tick ( object sender, EventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

btnClose_Click ( object sender, EventArgs e ) : void
btnReadWorkbook_Click ( object sender, EventArgs e ) : void
btnResetAllDynamicFilters_Click ( object sender, EventArgs e ) : void
chkDoNotFilterNonNumericCells_CheckedChanged ( object sender, EventArgs e ) : void
nudFilteredAlpha_ValueChanged ( object sender, EventArgs e ) : void

Method Details

AddDynamicFilterFormulaToTable() protected method

protected AddDynamicFilterFormulaToTable ( String sWorksheetName, String sTableName, String sDynamicFilterFormula ) : Microsoft.Office.Interop.Excel.Range
sWorksheetName String
sTableName String
sDynamicFilterFormula String
return Microsoft.Office.Interop.Excel.Range

AddDynamicFilterTableColumn() protected method

protected AddDynamicFilterTableColumn ( Microsoft oTable ) : Microsoft.Office.Interop.Excel.Range
oTable Microsoft
return Microsoft.Office.Interop.Excel.Range

AddHistogramImageToPictureBox() protected method

protected AddHistogramImageToPictureBox ( String sWorksheetName, DynamicFilterParameters oDynamicFilterParameters, PictureBoxPlus oPictureBox ) : void
sWorksheetName String
oDynamicFilterParameters DynamicFilterParameters
oPictureBox PictureBoxPlus
return void

AddHistogramToGroupBox() protected method

protected AddHistogramToGroupBox ( String sWorksheetName, DynamicFilterParameters oDynamicFilterParameters, GroupBox oGroupBox, Int32 iX, Int32 &iY ) : PictureBox
sWorksheetName String
oDynamicFilterParameters DynamicFilterParameters
oGroupBox GroupBox
iX Int32
iY Int32
return PictureBox

AddLabelToGroupBox() protected method

protected AddLabelToGroupBox ( DynamicFilterParameters oDynamicFilterParameters, GroupBox oGroupBox, Int32 iX, Int32 iY ) : Label
oDynamicFilterParameters DynamicFilterParameters
oGroupBox GroupBox
iX Int32
iY Int32
return Label

AddRangeTrackBarToGroupBox() protected method

protected AddRangeTrackBarToGroupBox ( NumericFilterParameters oNumericFilterParameters, String sTableName, GroupBox oGroupBox, StringBuilder oDynamicFilterConditions, Int32 iX, Int32 &iY ) : IDynamicFilterRangeTrackBar
oNumericFilterParameters NumericFilterParameters
sTableName String
oGroupBox GroupBox
oDynamicFilterConditions StringBuilder
iX Int32
iY Int32
return IDynamicFilterRangeTrackBar

AppendConditions() protected method

protected AppendConditions ( StringBuilder oDynamicFilterConditions, String sColumnName, String sSelectedMinimumAddress, String sSelectedMaximumAddress ) : void
oDynamicFilterConditions StringBuilder
sColumnName String
sSelectedMinimumAddress String
sSelectedMaximumAddress String
return void

AssertValid() public method

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

DynamicFilterDialog() public method

Initializes a new instance of the class for the Visual Studio designer.
Do not use this constructor. It is for use by the Visual Studio designer only.
public DynamicFilterDialog ( ) : System
return System

DynamicFilterDialog() public method

Initializes a new instance of the class with a workbook.
public DynamicFilterDialog ( Microsoft workbook ) : System
workbook Microsoft /// Workbook containing the graph contents. ///
return System

EscapeColumnName() protected method

protected EscapeColumnName ( String sColumnName ) : String
sColumnName String
return String

FireDynamicFilterColumnsChanged() protected method

protected FireDynamicFilterColumnsChanged ( DynamicFilterColumns eDynamicFilterColumns ) : void
eDynamicFilterColumns DynamicFilterColumns
return void

FireFilteredAlphaChanged() protected method

protected FireFilteredAlphaChanged ( ) : void
return void

GetDynamicFilterRangeTrackBars() public method

public GetDynamicFilterRangeTrackBars ( ICollection &edgeDynamicFilterRangeTrackBars, ICollection &vertexDynamicFilterRangeTrackBars ) : void
edgeDynamicFilterRangeTrackBars ICollection
vertexDynamicFilterRangeTrackBars ICollection
return void

GetRangeTrackBarRanges() protected method

protected GetRangeTrackBarRanges ( NumericFilterParameters oNumericFilterParameters, String sTableName, Decimal &decAvailableMinimum, Decimal &decAvailableMaximum, Decimal &decSelectedMinimum, Decimal &decSelectedMaximum, String &sSelectedMinimumAddress, String &sSelectedMaximumAddress ) : void
oNumericFilterParameters NumericFilterParameters
sTableName String
decAvailableMinimum Decimal
decAvailableMaximum Decimal
decSelectedMinimum Decimal
decSelectedMaximum Decimal
sSelectedMinimumAddress String
sSelectedMaximumAddress String
return void

InitializeAndRecalculateDynamicFilterColumns() protected method

protected InitializeAndRecalculateDynamicFilterColumns ( ) : void
return void

InitializeDynamicFilters() protected method

protected InitializeDynamicFilters ( ) : void
return void

InitializeDynamicFiltersForOneTable() protected method

protected InitializeDynamicFiltersForOneTable ( String sWorksheetName, String sTableName, GroupBox oGroupBox ) : Microsoft.Office.Interop.Excel.Range
sWorksheetName String
sTableName String
oGroupBox GroupBox
return Microsoft.Office.Interop.Excel.Range

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e EventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e EventArgs
return void

OnSelectedRangeChanged() protected method

protected OnSelectedRangeChanged ( IDynamicFilterRangeTrackBar oDynamicFilterRangeTrackBar ) : void
oDynamicFilterRangeTrackBar IDynamicFilterRangeTrackBar
return void

RangeTrackBar_SelectedRangeChanged() protected method

protected RangeTrackBar_SelectedRangeChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

RecalculateDynamicFilterColumns() protected method

protected RecalculateDynamicFilterColumns ( DynamicFilterColumns eDynamicFilterColumns ) : void
eDynamicFilterColumns DynamicFilterColumns
return void

ResetAllDynamicFilters() protected method

protected ResetAllDynamicFilters ( ) : void
return void

SetManualCalculation() protected method

protected SetManualCalculation ( ) : void
return void

StartChangeEventDelayTimer() protected method

protected StartChangeEventDelayTimer ( Object oChangedControl ) : void
oChangedControl Object
return void

m_oChangeEventDelayTimer_Tick() protected method

protected m_oChangeEventDelayTimer_Tick ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

m_bHandleControlEvents protected_oe property

protected Boolean m_bHandleControlEvents
return Boolean

m_oChangeEventDelayTimer protected_oe property

protected Timer m_oChangeEventDelayTimer
return Timer

m_oDynamicFilterDialogUserSettings protected_oe property

protected DynamicFilterDialogUserSettings m_oDynamicFilterDialogUserSettings
return DynamicFilterDialogUserSettings

m_oDynamicFilterSettings protected_oe property

protected DynamicFilterSettings m_oDynamicFilterSettings
return DynamicFilterSettings

m_oEdgeDynamicFilterColumnData protected_oe property

protected Microsoft.Office.Interop.Excel.Range m_oEdgeDynamicFilterColumnData
return Microsoft.Office.Interop.Excel.Range

m_oExcelCalculationRestorer protected_oe property

protected ExcelCalculationRestorer m_oExcelCalculationRestorer
return ExcelCalculationRestorer

m_oVertexDynamicFilterColumnData protected_oe property

protected Microsoft.Office.Interop.Excel.Range m_oVertexDynamicFilterColumnData
return Microsoft.Office.Interop.Excel.Range

m_oWorkbook protected_oe property

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