Adding help icon to WinForms form titlebar

僤鯓⒐⒋嵵緔 提交于 2019-12-07 15:39:38

问题


Some Windows native applications have a question mark icon on the title bar. It's usually at the right edge, just near the close button. How can I do this in a C# WinForms application? I'd like a solution that works in Windows XP onward.


回答1:


Set the form's HelpButton property to True. You also need to have the MaximizeButton and MinimizeButton properties set to False.



来源:https://stackoverflow.com/questions/1112472/adding-help-icon-to-winforms-form-titlebar

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!