webBrowser1_PreviewKeyDown runs several time when I press a key
<pre><code>private void webBrowser1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
        {
          if (click_counter &gt; 0)
              {
                  click_counter = 0;
                  return;
                }                
            if (e.KeyCode == Keys.S)
                {

                    searchButton.PerformClick();
                }
        }
</code></pre>

<p>I added this code into my form source code which has a webbrowser object. 
The problem is messagebox pops up 3 times when I click letter "S".</p>

<p>How can I get rid of that problem?</p>

<p>Thanks
EDITED: Removed MessageBox.Show per recommendation!</p>

<p>SOLVED: I solved it out with a workaround. I cannot call it a real solution though. what I did is adding a if condition in the beginning to control the click count. Any better solution is welcome!</p>
