C# SetHelpKeyword problem
<p>I have this code in a form constructor</p>

<pre><code>help = new HelpProvider();
this.help.HelpNamespace = @"C:\temp\help.chm";
this.help.SetHelpNavigator(this.button1, HelpNavigator.KeywordIndex);
this.help.SetHelpKeyword(this.button1, "key1lic");

this.help.SetHelpNavigator(this.button2, HelpNavigator.KeywordIndex);
this.help.SetHelpKeyword(this.button2, "test index");
</code></pre>

<p>When I have the focus on button1 and press F1 help.chm opens at "key1lic" index (there is a page for this index). But when I set the focus on button2 and press F1 the help file opens at the same index, that is, "key1lic", instead of "test index".</p>

<p>Same happens when I try to use the HelpProvider control and I manually set the index for each button.</p>

<p>Can someone explain me what I'm doing wrong ?</p>

<p>Thank you,
Mosu'</p>

<p>Edit:
Ok, this is very hilarious! This is focus problem and not a HelpProvider problem.
I was never setting the focus on the other button. I was just putting the mouse on it but this does not change the focus :-))</p>
