在C#桌面应用程序中是否有像“迷失焦点"之类的东西? [英] Is there anything like Lost Focus in C# desktop applications?
本文介绍了在C#桌面应用程序中是否有像“迷失焦点"之类的东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您可能已经知道,Web应用程序中有一个名为
As you might know there is a event called
"LostFocus"
的事件,而我当时在思考桌面应用程序中是否有类似
in web applications,,and I was thinking is there something like
"LostFocus"
的事件??
如果是,请帮帮我,
我已经尝试过,但一无所获,
谢谢!
in Desktop Application,,?
If YES guys please help me out,,
I have tried but getting nothing,,
Thanks!
推荐答案
是的,
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.lostfocus.aspx [ ^ ]
Yes,
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.lostfocus.aspx[^]
假设使用文本框控件,请在此处查找针对文本框公开的所有事件: ^ ]
您正在寻找的事件: Control.LostFocus事件 [ ^ ]
Assuming a textbox control, look here for all the events exposed for a textbox: Textbox Events[^]
Event you are looking for: Control.LostFocus Event[^]
这篇关于在C#桌面应用程序中是否有像“迷失焦点"之类的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文