I get the following exception when calling saveFileDialog.ShowDialog() in a background thread:
saveFileDialog.ShowDialog()
Current thread must be set to single thr
ShowDialog() shouldn't be called from a background thread - use Invoke(..).
Invoke((Action)(() => { saveFileDialog.ShowDialog() }));