Smrf.NodeXL.ExcelTemplate.TaskPane.usrAutoFillResultsLegend_Resize C# (CSharp) Method

usrAutoFillResultsLegend_Resize() private method

private usrAutoFillResultsLegend_Resize ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
    usrAutoFillResultsLegend_Resize
    (
        object sender,
        EventArgs e
    )
    {
        // Don't do this.  On large-font machines, the child controls get
        // resized before the TaskPane is fully initialized.

        // AssertValid();

        // The usrAutoFillResultsLegend and usrDynamicFiltersLegend controls
        // are stacked within a scrollable Panel, splLegend.Panel2.  Each
        // dynamically sets its height to accommodate its contents.  When the
        // upper control, usrAutoFillResultsLegend, changes height, the top of
        // the lower control must be adjusted.

        usrDynamicFiltersLegend.Top = usrAutoFillResultsLegend.Bottom + 1;
    }
TaskPane