简体   繁体   English

如何在Windows Mobile应用程序中显示模式对话框?

[英]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.

相关问题 如何创建数据库并为Windows Mobile 5应用程序访问数据库? - How do i create a database and access it for my windows mobile 5 app? 如何在我的应用程序上显示存储在移动设备中的图像? - How can i display image stored in mobile device on my aplication? 如何为我的应用程序显示“Windows 防火墙已阻止此程序的某些功能”对话框? - how to display “Windows Firewall has blocked some features of this program” dialog for my app? 在 FullCalendar 应用程序上显示模式对话框 - Display a modal dialog box on FullCalendar app 我可以在Windows Store App的CameraCaptureUI对话框中触发各种相机选项吗? - Can I trigger the various camera options in a CameraCaptureUI dialog in my Windows Store App? 对话框可以在WPF中的多个窗口中进行模态化吗? - Can a dialog be modal across multiple windows in WPF? 如何将Collection传递给模态对话框窗口? - How can I pass Collection to modal dialog window? 提交后如何保持模式对话框? - How can I keep a modal dialog after a submit? jQuery-调用模态对话框后如何继续执行脚本 - JQuery - How can I carry on with script after call to modal dialog 如何在不阻塞的情况下显示模式对话框? - How can I show a modal dialog box without blocking?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM