![On button click, how can I allow for only 1 instance of a form to exist while it has a parent form? How can I prevent it from opening another instance? : On button click, how can I allow for only 1 instance of a form to exist while it has a parent form? How can I prevent it from opening another instance? :](https://preview.redd.it/on-button-click-how-can-i-allow-for-only-1-instance-of-a-v0-5wwh5jnhhi4a1.png?width=562&format=png&auto=webp&s=363fdf01cd9fb24ae0c1e9f3a5b32691245ce1d1)
On button click, how can I allow for only 1 instance of a form to exist while it has a parent form? How can I prevent it from opening another instance? :
![Invoke PrintDialog.ShowDialog() does not show Print dialog successfully · Issue #2814 · dotnet/winforms · GitHub Invoke PrintDialog.ShowDialog() does not show Print dialog successfully · Issue #2814 · dotnet/winforms · GitHub](https://user-images.githubusercontent.com/53589182/74011630-291fbd00-493d-11ea-9879-f54897d6b34a.gif)
Invoke PrintDialog.ShowDialog() does not show Print dialog successfully · Issue #2814 · dotnet/winforms · GitHub
![c# - Is there an event thrown when a user tries to click off a modal dialog created with Form.ShowDialog()? - Stack Overflow c# - Is there an event thrown when a user tries to click off a modal dialog created with Form.ShowDialog()? - Stack Overflow](https://i.stack.imgur.com/Sm74w.png)