按设备上的取消按钮时,消息框未关闭 [英] Message Box not close when press cancel button on device
问题描述
您好
我正在使用智能设备应用程序。在其中我显示如下消息框:
I am using Smart device applicaiton. In it I am showing message box as follows:
DialogResult dlgRes = MessageBox.Show(" msg"," msg warning",MessageBoxButtons.OKCancel,MessageBoxIcon.Hand,MessageBoxDefaultButton .Button2);
DialogResult dlgRes = MessageBox.Show("msg", "msg warning", MessageBoxButtons.OKCancel, MessageBoxIcon.Hand,MessageBoxDefaultButton.Button2);
现在,当我从"我的设备"按下取消按钮时,消息按钮将不会关闭。我们jav to manualy点击关闭按钮。
Now when I press cancel button from My device message button will not close. We jave to manualy click the close button.
如何实现这种行为?
谢谢
Vipul Langalia
Vipul Langalia
推荐答案
您好
任何人都可以帮我解决这个问题吗?
Can any one please help me in this issue?
问候
Vipul Langalia
Vipul Langalia
这篇关于按设备上的取消按钮时,消息框未关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!