I'm working on word add-in, I have a button which when clicked opens a windows form using form.ShowDialog(). I want to close the form whenever user clicks outside the form area, I want to close because form.ShowDialog() doesn't allow me to minimise it and I'm saving the instance of the form...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.