Add a default button to TaskDialog if no buttons were setup #55
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
https://hacktoberfest.digitalocean.com
help wanted
Extra attention is needed
up-for-grabs
Milestone
Spin-off of #48
If you attempt to call
ShowDialog
on aTaskDialog
that you haven't added any buttons to, the call toShowDialog
will throw anInvalidOperationException
.Example:
Let's add a default
OK
button to theTaskDialog
if no buttons were setup.The text was updated successfully, but these errors were encountered: