控制表单显示或隐藏 [英] Control the form to show or hide
本文介绍了控制表单显示或隐藏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果在将鼠标移动到B表单时显示A表单,则表单控件的运算符B.
我问,什么可以实现这个功能?
谢谢。
解决方案
我想知道你是否在寻找模态弹出解决方案?如果您希望在鼠标悬停事件中显示或隐藏表单,请使用myform.show()或myform.hide()。我同意这个问题需要更多的澄清才能提供更好的答案。
I have a WinForm APP, which has Two form, A form which has a button when the mouse moves (MouseEnter Event) button, B form is displayed when the mouse away (MouseLeave) B form hidden.
If the A form is displayed when the mouse can be moved to the B form, the operator B of the form control.
I ask, what can achieve this functionality?
Thanks.
解决方案
I wonder if you are seeking a modal popup solution? If you wish to show or hide forms on the mouseover event then use myform.show() or myform.hide(). I agree this question needs a little more clarification in order to provide a better answer.
这篇关于控制表单显示或隐藏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文