title: How to use KeyPressEvent in correct way
body: <p>try to create HotKeys for my forms</p>
  
  <p>code</p>
  
  <pre><code>    private void FormMain_KeyPress(object sender, KeyPressEventArgs e)        
      {
          if (e.KeyChar == (char)Keys.Enter)
          {
              MessageBox.Show("e");
          }
      }
  </code></pre>
  
  <p>works for one key, but if I whant to use combination of keys like CTRL+N, try to use <code>if (e.KeyChar == (char)Keys.Enter &amp;&amp; e.KeyChar == (char)Keys.N)</code> - but it's not working. I'm I right - using such code for keys combination?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p><img src="https://i.stack.imgur.com/Xgph4.png" alt="Edit"></p>
  
  <p>This code capture only first pressed key, but not combination - so if I press CTRL + Enter - code capture CTRL but not Enter Key - try to create additional <code>if</code> but - result the same...</p>
  
  <hr>
  
  <p>Change event from <code>KeyPress</code> to <code>KeyDown</code> - now it's work</p>