/// <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) { ColormaxCustomExport dialog = new ColormaxCustomExport(exporters, m_Destination, m_FileTypeId, m_WorkingMode, indexFields, m_IndexField, m_Padding, m_DeleteFirstPage); if (dialog.ShowDialog() != DialogResult.OK) { return; } m_Destination = dialog.Destination; m_FileTypeId = dialog.FileTypeId; m_WorkingMode = dialog.WorkingMode; m_IndexField = dialog.IndexField; m_Padding = dialog.PaddingValue; m_DeleteFirstPage = dialog.DeleteFirstPage; }
/// <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) { ColormaxCustomExport dialog = new ColormaxCustomExport(exporters, m_Destination, m_FileTypeId, m_WorkingMode, indexFields, m_IndexField, m_Padding, m_DeleteFirstPage); if (dialog.ShowDialog() != DialogResult.OK) return; m_Destination = dialog.Destination; m_FileTypeId = dialog.FileTypeId; m_WorkingMode = dialog.WorkingMode; m_IndexField = dialog.IndexField; m_Padding = dialog.PaddingValue; m_DeleteFirstPage = dialog.DeleteFirstPage; }