public AsyncExportingProgressParams(IProgressCallback progressCallback, ExportMultipleDialogModel model, ExportMultipleDialogModel.ExportFormat exportFormat, string exportPath) { ProgressCallback = progressCallback; Model = model; ExportFormat = exportFormat; ExportPath = exportPath; }
public ExportMultipleDialogView(IConversationManager conversationManager, IDisplayOptionsReadOnly displayOptions) { InitializeComponent(); IFileSystem exportFileSystem = new OsFileSystem(); ExportErrorFormatter exportErrorFormatter = new ExportErrorFormatter(); _model = new ExportMultipleDialogModel(conversationManager, displayOptions, exportFileSystem, exportErrorFormatter); _progressCallback = null; Loaded += delegate { folderPathTextBox.Text = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); }; }