I have a form that the user can double click on with the mouse and it will do something. Now I want to be able to know if the user is also holding the Ctrl key do
The same soneone said above, but comparing as different than zero, which should be a little faster and use less instructions on most architectures:
public static bool IsControlDown() { return (Control.ModifierKeys & Keys.Control) != 0; }