I am writing a program that has a portion which downloads files into a
selected directory. It first checks to see if the file exists if the
file exists it opens another form with buttons related to
overwriting, renaming etc. What is the proper way in windows forms
programming to open a new form and wait for the reponse of the form.
Currently I open it with form.show(); form.focus(); In the form I have
a variable set based on the user's input and I would like the program
to halt until there is a response. Related to this I would like the
new form to have focus and maintain focus. i.e. I don't want the
user to be able to navigate back to the mainform and have access to
that functionality. Your help is greatly appreciated.