I have a Windows Form that I use to prompt the user. It is loaded with a list that the user
has to make a selection from.
I have an OK button that then runs the rest of the code.
Is there a way to pause the code, show the form and then run the rest of the code
without havening to channel it through the OK button?
In essence, I want the Windows form to gather feedback just like the OpenFileDialog would in the
following code and gather feedback from the user
.FileName = ""
.InitialDirectory = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
.Filter = Nothing
sFileAndPath = .FileName
sPath = System.IO.Path.GetDirectoryName(sFileAndPath)
sFile = System.IO.Path.GetFileName(sFileAndPath)
oSource_File = sFileAndPath