문제

I want to open a specific subpage of my CHM-Help for my program.
I never did this in c#, so I need to know how to open the specific Page of the CHM.
A short example would be perfect.

도움이 되었습니까?

해결책

You can use System.Windows.Forms.Help.ShowHelp(Control, String, HelpNavigator)

From MSDN

// Open the Help file for the Character Map topic and 
// display the Index page.
private void Button2_Click(System.Object sender, System.EventArgs e)
{

    Help.ShowHelp(TextBox1, "file://c:\\charmap.chm", 
        HelpNavigator.Index);
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top