/// <summary>
        /// Whenever the user requests to configure the script's settings, the method will be called with
        /// the latest information from the application's running instance as parameters. Also, a script can
        /// define and add its own information to the data table and pass it further down to the exporters.
        /// </summary>
        public void Setup(IList <IExporter> exporters, IIndexField[] indexFields, IDictionary <string, string> releaseData)
        {
            AxReleaseSetup setupDialog = new AxReleaseSetup(exporters, m_Destination,
                                                            m_FileTypeId, m_WorkingMode,
                                                            m_IndexFileName, m_MaxImageFiles);

            if (setupDialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            m_Destination   = setupDialog.Destination;
            m_FileTypeId    = setupDialog.FileTypeId;
            m_WorkingMode   = setupDialog.WorkingMode;
            m_IndexFileName = setupDialog.IndexFileName;
            m_MaxImageFiles = Int32.Parse(setupDialog.MaxImageFiles);
        }
        /// <summary>
        /// Whenever the user requests to configure the script's settings, the method will be called with
        /// the latest information from the application's running instance as parameters. Also, a script can
        /// define and add its own information to the data table and pass it further down to the exporters.
        /// </summary>
        public void Setup(IList<IExporter> exporters, IIndexField[] indexFields, IDictionary<string, string> releaseData)
        {
            AxReleaseSetup setupDialog = new AxReleaseSetup(exporters, m_Destination,
                                                            m_FileTypeId, m_WorkingMode,
                                                            m_IndexFileName, m_MaxImageFiles);

            if (setupDialog.ShowDialog() != DialogResult.OK) return;

            m_Destination = setupDialog.Destination;
            m_FileTypeId = setupDialog.FileTypeId;
            m_WorkingMode = setupDialog.WorkingMode;
            m_IndexFileName = setupDialog.IndexFileName;
            m_MaxImageFiles = Int32.Parse(setupDialog.MaxImageFiles);
        }