How to set up the 'Home' toolstripbutton in 'Help.ShowHelp' in winform

Hi experts
Could someone tell me how to configure the behaviour of the 'Home' button so that it will go to certain page.
Please see attached screenshot for the 'Home' button and its current behaviour.

Thank you.

I am using Winform, .NET 3.5, C#, and Windows.Forms.Help.
HomeButton.PNG
dominicwongAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Michael FowlerConnect With a Mentor Solutions ConsultantCommented:
Then again I would look at using HTML Help Workshop to resolve this as the functionality come from the chm file not winforms
http://msdn2.microsoft.com/en-us/library/ms669985.aspx

Michael
0
 
Michael FowlerSolutions ConsultantCommented:
You can set the click event eg

// Navigates webBrowser1 to the home page of the current user. 
private void homeButton_Click(object sender, EventArgs e)
{
    webBrowser1.GoHome();
}

Open in new window


http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.gohome(v=vs.110).aspx
0
 
dominicwongAuthor Commented:
Thanks Michael74 for your prompt response.

I apologize for not having mentioned the code I used to bring up the Help. I was actually using the 'Windows.Forms.Help' class and the 'ShowHelp' method.

Help.ShowHelp(parentForm, fileLocation);

Open in new window


Therefore, the click event handler that was suggested might not be applicable in my situation. Could you please point me the right direction.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Michael FowlerSolutions ConsultantCommented:
When using ShowHelp are you calling a chm file or another file type

Michael
0
 
dominicwongAuthor Commented:
Thanks Michael.
I am using chm file.
0
 
dominicwongAuthor Commented:
Thanks Michael for pointing me the right direction.
0
All Courses

From novice to tech pro — start learning today.