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.