I realise that there are already a number of questions very similar to this:
multi select folders and files
C# Dialog to select multiple files AND folders
C# - How to customize OpenFileDialog to select multiple folders and files?
Required Dialog for selecting Multiple Files and Folders .NET
Select either a file or folder from the same dialog in .NET
However, none have quite what I am looking for. Some solutions only work for selecting multiple files, others only for multiple folders. None that I am aware of allow the selection of a mixture of both at one time.
This looks to be exactly what I am looking for... Except that it is C++, and I have no idea how I could utilise it in .NET (is this a possibility):
https://www.codeproject.com/Articles/28015/SelectDialog-A-Multiple-File-and-Folder-Select-Dia
I realise that it is very unlikely for there to be a dialog built into .NET which I have overlooked. However, as I think it would be a fairly common requirement, I would have thought there would be something already made rather than me rolling my own. Which would take a relatively long time and probably end up being much more basic than the built in OpenFileDialog (all be it with the basic functionality we require).
My use case is that I require a dialog to select a number of individual files and folders return their paths so that they can be zipped together.
What is the quickest and easiest way for me to implement such a dialog in Winforms?