public static GitModule OpenModule(IWin32Window owner)
 {
     using (var open = new FormOpenDirectory())
     {
         open.ShowDialog(owner);
         return open.choosenModule;
     }
 }
 public TestAccessor(FormOpenDirectory form)
 {
     _form = form;
 }
 public GitModule OpenGitRepository([NotNull] string path, ILocalRepositoryManager localRepositoryManager) => FormOpenDirectory.OpenGitRepository(path, localRepositoryManager);
 public static GitModule OpenModule(IWin32Window owner, [CanBeNull] GitModule currentModule)
 {
     using var open = new FormOpenDirectory(currentModule);
     open.ShowDialog(owner);
     return(open._chosenModule);
 }