none
如何顯示使用者說明檔 RRS feed

  • 一般討論

  • myappHelp.htm
    <html>
    <head>
    <META HTTP-EQUIV="Htm-Help" Content="critters.htm#Main_Contents">
    <KEYWORD VALUE="Critters;Games" TITLE="Critters Help" 
      HREF="Critters.htm#main_contents">
    <KEYWORD VALUE="Critters overview" TITLE="Critters Help" 
      HREF="Critters.htm#overview">
    <KEYWORD VALUE="Critters options" TITLE="Critters Help" 
      HREF="Critters.htm#options">
    </head>
    <body>
    <!-- PegHelp -->
    <p>
    <a name="Main_Contents"></a>
    </p>
    <b>Critters Help</b>
    </p>
    <p>
    <a href="critters.htm#overview">Game Overview</a><br>
    <a href="critters.htm#options">Game Options</a><br>
    <img src="critter.2bp">
    </p>
    <!-- PegHelp -->
    <!-- ******* TOPIC BREAK ******* -->
    <hr>
    <a name="overview"></a>
    <p><b>Game Overview</b></p>
    <p>Critters are small round creatures that you can adopt and raise.  
      They have various moods and characteristics and each one has its own 
      personality and appearance that will change over time.</p>
    <!-- PegHelp -->
    <!-- ******* TOPIC BREAK ******* -->
    <hr>
    <a name="options"></a>
    <p><b>Options</b></p>
    <ul>
    <li><i>Sound</i> – Turn sound on / off</li>
    <li><i>Sub-Games</i> – Turn sub-games on / off.  When a caretaker 
      attempts to play with a critter or teach a critter, sub-games are 
      presented such as ‘Guess my number’ and ‘Trivia’ if this option is 
      checked.</li>
    <li><i>Animation</i> – Turn animation on / off.  Turning this off will 
      cause the critter to remain still.</li>
    <li><i>Notifications</i> – Choose icon / text / none.  Notifications 
      appear to inform you when your critter is in danger of dying due to 
      a particular need not being met.</li>
    <li><i>Speed</i> – This is the rate at which the game engine operates.
      It affects how fast feelings develop and statistics are 
      modified.</li>
    </ul>
    </p>
    </body>
    </html>
    
    
    
    
    
    private void button1_Click(object sender, System.EventArgs e)
    {
        // You can also show Help
        // for a subtopic
        // by clicking a button.
        try
        {
            Help.ShowHelp(this,@"\windows\myappHelp.htm#overview");
        }
        catch (Exception ex)
        {
            MessageBox.Show(ex.Message);
        }
    }
    2009年5月3日 下午 01:47

所有回覆

  • HI,

    您有試過用Process.Start嗎?
    Process.Start("\windows\myappHelp.htm");
    2009年5月4日 上午 01:50
  • 也可以用系統的 HELP 功能,這樣可以將 HELP 檔整和至系統說明內
    下面的語法是 VB.NET 的供您參考
    Process.Start("\windows\peghelp.exe, "\windows\help.htm"")
    2009年5月4日 上午 04:53