Smrf.NodeXL.ExcelTemplate.AggregateGraphMetricsDialog.DoDataExchange C# (CSharp) Method

DoDataExchange() protected method

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
return System.Boolean
    DoDataExchange
    (
        Boolean bFromControls
    )
    {
        if (bFromControls)
        {
            if ( !usrSourceFolder.Validate() )
            {
                return (false);
            }

            m_oAggregateGraphMetricsDialogUserSettings.SourceFolderPath =
                usrSourceFolder.FolderPath;
        }
        else
        {
            usrSourceFolder.FolderPath =
                m_oAggregateGraphMetricsDialogUserSettings.SourceFolderPath;

            EnableControls();
        }

        return (true);
    }