[英]How can I display a modal dialog in my Windows Mobile app?
I wanted to know how I can display a modal dialog in one of my forms in a windows mobile application. 我想知道如何在Windows Mobile应用程序中以其中一种形式显示模式对话框。 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. 到目前为止,我在框架中发现的与对话框相关的唯一东西是DialogResult类。
I am developing for Windows Smart phone using the Windows Mobile 6 Standard SDK. 我正在使用Windows Mobile 6 Standard SDK为Windows智能手机进行开发。
Thanks a lot for any help. 非常感谢您的帮助。
The .NET Compact Framework supports MessageBox.Show , which pops up a modal message. .NET Compact Framework支持MessageBox.Show ,它会弹出模式消息。 If all you need to do is display some text and wait for an OK, that works fine.
如果您需要做的就是显示一些文本,然后等待确定,那么就可以了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.