如何在vb.net中检查或取消勾选复选框ustin msgbox确认 [英] how to check or unckeck check box ustin msgbox confirmation in vb.net
本文介绍了如何在vb.net中检查或取消勾选复选框ustin msgbox确认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个复选框,我检查或取消选中然后弹出一个消息框你确定并且用户点击是然后复选框未选中然后检查并检查然后在vb.net中取消选中
i have an check box and i check or unchecked then popup a message box are you sure and user click yes then check box is unchecked then check and check then unchecked in vb.net
推荐答案
假设它是基于Windows窗体的应用程序,MessageBox.Show
方法返回DialogResult
。您可以使用此结果来选中/取消选中复选框。
Assuming it is windows form based application,MessageBox.Show
method returns aDialogResult
. You can use this result to check/un-check the checkbox.
这篇关于如何在vb.net中检查或取消勾选复选框ustin msgbox确认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文