I try to get KeyEventArgs to Tick. If someone thinks why I'm using timer, so it needs to detect keypress outside of window too.
I don't have "error" in this code, but when I run program comes:
Exception Unhandled. System.NullReferenceExpetion: (i try to translate) 'Your object referral can't define object occurrence' 
Now thing what I'm using is
private void Form1_Load(object sender, EventArgs e)
        {
            A.Start();
            A.Interval = 1;
        }
private void A_Tick(object sender, EventArgs e)
        {
            KeyEventArgs ke = e as KeyEventArgs;
            if (ke.KeyCode == Keys.R) 
            {
            test = true;     
            }       
        }
            I really need help, because this error has been so long time. Thanks
