Provides information for the event.
상속: System.EventArgs
    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);
        }
    }
예제 #2
0
        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);
            }
        }
예제 #3
0
    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();
    }