MessageBox
I am trying to add a message box to a form. What I want to happen is when a person presses a button to delete an item I want the messagebox to appear and ask them if they are sure. What I get is the error
"It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application."
I don't know what this means.
Any help?
|