private void ProcOnExited_MainThreadDelegate(object o)
        {
            var startInfo = (ProcessStartInfo)o;

            Project.MovebankFilesets = FtFileset.FileSetFromDirectory(startInfo.WorkingDirectory);
            ImportMovebank();
        }
        private void View_ShowMovebankImport(object sender, EventArgs e)
        {
            if (Project == null)
            {
                MessageBox.Show("Bitte zunächst ein Projekt erstellen oder öffnen.");
                return;
            }

            var args = (MovebankImportStartArgs)e;

            if (args.EinzelImport)
            {
                CommonOpenFileDialog movebankOpenFileDialog = new CommonOpenFileDialog {
                    Multiselect = true
                };
                if (Project.DefaultMovebankLookupPathAvailable)
                {
                    movebankOpenFileDialog.DefaultDirectory = Project.DefaultMovebankLookupPath;
                }
                movebankOpenFileDialog.Filters.Add(
                    new CommonFileDialogFilter("Movebank", "*.txt"
                                               ));

                CommonFileDialogResult dr = movebankOpenFileDialog.ShowDialog();
                if (dr != CommonFileDialogResult.Ok)
                {
                    return;
                }
                Project.MovebankFilesets = FtFileset.FileSetFromMultiselect(movebankOpenFileDialog.FileNames.ToList());
                ImportMovebank();
            }
            else
            {
                CommonOpenFileDialog movebankOpenFileDialog = new CommonOpenFileDialog
                {
                    IsFolderPicker = true,
                    Multiselect    = false
                };
                if (Project.DefaultMovebankLookupPathAvailable)
                {
                    movebankOpenFileDialog.DefaultDirectory = Project.DefaultMovebankLookupPath;
                }
                CommonFileDialogResult dr = movebankOpenFileDialog.ShowDialog();
                if (dr != CommonFileDialogResult.Ok)
                {
                    return;
                }

                Project.MovebankFilesets = FtFileset.FileSetFromDirectory(movebankOpenFileDialog.FileName);
                ImportMovebank();
            }
        }