C#: In the keydown event of a textbox, how do you detect currently pressed modifiers + keys?
<p>C#: In the keydown event of a textbox, how do you detect currently pressed modifiers + keys?</p>

<p>I did the following, but I'm not too familiar with these operators so I'm not sure if and what I'm doing wrong.</p>

<pre><code>    private void txtShortcut_KeyDown(object sender, KeyEventArgs e)
    {
        if (e.Modifiers == (Keys.Alt || Keys.Control || Keys.Shift))
        {
            lbLogger.Items.Add(e.Modifiers.ToString() + " + " +
                "show non-modifier key being pressed here");
        }
    }
</code></pre>

<p>1) How would I check if e contains any modifier keys?</p>
