How to get keyboard press SHIFT outside keyboard event holder function?
Posted on 2009-05-17
Im using C# 2008 , WinForm NET 2. I want in one procedure to get state of keyboard (to check for example will user is press SHIFT button, or other button)
I need this to make better speed of development, I create database application and want when I press SHIFT to skip check for user/ name / password . (Of course I have addition technique which can do this only in my DEV computer, not in production).
So in general I need to check for press SHIFT state, but on function which are not some of keyboard event holder. How to do this ?