private bool SelectDirectory(out string directory)
 {
     using (var form = new InputDirectoryForm("Input " + directoryDescription, "Folder", ""))
     {
         var result = form.ShowDialog(Form.ActiveForm) == DialogResult.OK;
         if (result)
         {
             directory = form.Value;
         }
         else
         {
             directory = null;
         }
         return(result);
     }
 }
 private bool SelectDirectory(out string directory)
 {
   using (var form = new InputDirectoryForm("Input " + directoryDescription, "Folder", ""))
   {
     var result = form.ShowDialog(Form.ActiveForm) == DialogResult.OK;
     if (result)
     {
       directory = form.Value;
     }
     else
     {
       directory = null;
     }
     return result;
   }
 }