private void btnBatchDownload_Click(object sender, RoutedEventArgs e) { BatchDownload batchDownloadDialog = new BatchDownload(this); batchDownloadDialog.ShowDialog(); }