OnDynamicFilterColumnsChanged ( DynamicFilterDialog dynamicFilterDialog, DynamicFilterColumnsChangedEventArgs e, Microsoft.Office.Interop.Excel.Workbook workbook, NodeXLControl nodeXLControl, Dictionary<Int32, IIdentityProvider> edgeRowIDDictionary, Dictionary<Int32, IIdentityProvider> vertexRowIDDictionary ) { Debug.Assert(dynamicFilterDialog != null); Debug.Assert(e != null); Debug.Assert(workbook != null); Debug.Assert(nodeXLControl != null); Debug.Assert(edgeRowIDDictionary != null); Debug.Assert(vertexRowIDDictionary != null); if (e.DynamicFilterColumns == (DynamicFilterColumns.EdgeTable | DynamicFilterColumns.VertexTable) ) { ReadDynamicFilterColumns(dynamicFilterDialog, workbook, nodeXLControl, true, edgeRowIDDictionary, vertexRowIDDictionary ); } else if (e.DynamicFilterColumns == DynamicFilterColumns.EdgeTable) { ReadEdgeDynamicFilterColumn(dynamicFilterDialog, workbook, nodeXLControl, true, edgeRowIDDictionary); } else if (e.DynamicFilterColumns == DynamicFilterColumns.VertexTable) { ReadVertexDynamicFilterColumn(dynamicFilterDialog, workbook, nodeXLControl, true, vertexRowIDDictionary); } }
OnDynamicFilterColumnsChanged ( DynamicFilterDialog dynamicFilterDialog, DynamicFilterColumnsChangedEventArgs e, Microsoft.Office.Interop.Excel.Workbook workbook, NodeXLControl nodeXLControl, Dictionary <Int32, IIdentityProvider> edgeRowIDDictionary, Dictionary <Int32, IIdentityProvider> vertexRowIDDictionary ) { Debug.Assert(dynamicFilterDialog != null); Debug.Assert(e != null); Debug.Assert(workbook != null); Debug.Assert(nodeXLControl != null); Debug.Assert(edgeRowIDDictionary != null); Debug.Assert(vertexRowIDDictionary != null); if (e.DynamicFilterColumns == (DynamicFilterColumns.EdgeTable | DynamicFilterColumns.VertexTable) ) { ReadDynamicFilterColumns(dynamicFilterDialog, workbook, nodeXLControl, true, edgeRowIDDictionary, vertexRowIDDictionary ); } else if (e.DynamicFilterColumns == DynamicFilterColumns.EdgeTable) { ReadEdgeDynamicFilterColumn(dynamicFilterDialog, workbook, nodeXLControl, true, edgeRowIDDictionary); } else if (e.DynamicFilterColumns == DynamicFilterColumns.VertexTable) { ReadVertexDynamicFilterColumn(dynamicFilterDialog, workbook, nodeXLControl, true, vertexRowIDDictionary); } }
m_oDynamicFilterDialog_DynamicFilterColumnsChanged ( Object sender, DynamicFilterColumnsChangedEventArgs e ) { AssertValid(); if (oNodeXLControl.IsLayingOutGraph) { return; } DynamicFilterHandler.OnDynamicFilterColumnsChanged( m_oDynamicFilterDialog, e, m_oWorkbook, oNodeXLControl, m_oEdgeRowIDDictionary, m_oVertexRowIDDictionary); UpdateDynamicFiltersLegend(); }