Reputation: 70997
I wanted to know how I can display a modal dialog in one of my forms in a windows mobile application. I am getting the user inputs in a form and in case a validation fails, I want to display a dialog to the user telling them so (with just an OK button).
So far, the only thing related to dialogs I found in the framework was the DialogResult class.
I am developing for Windows Smart phone using the Windows Mobile 6 Standard SDK.
Thanks a lot for any help.
Upvotes: 2
Views: 1785
Reputation: 204129
The .NET Compact Framework supports MessageBox.Show, which pops up a modal message. If all you need to do is display some text and wait for an OK, that works fine.
Upvotes: 1