开发者

c# Add HelpButton to a MDI child form at run time

开发者 https://www.devze.com 2023-01-17 06:57 出处:网络
i\'d like the following code to work (where this. is a MDI child form) this.HelpButton = tru开发者_StackOverflowe;

i'd like the following code to work (where this. is a MDI child form)

this.HelpButton = tru开发者_StackOverflowe;
this.HelpButtonClicked += HandleHelpButtonClicked;
this.Refresh();       

this code is being called after the mdi child form is displayed.

I wonder if i need to find some way of redrawing the title bar?

David


From the MSDN docs:

The value of the HelpButton property is ignored if the Maximize or Minimize buttons are shown.

0

精彩评论

暂无评论...
验证码 换一张
取 消