public void RaiseKeyEvent(Keys K)
 {
     WinApi.keybd_event(K, 0, KEYEVENTF_EXTENDEDKEY | WM_KEYDOWN, (IntPtr)0);
     WinApi.keybd_event(K, 0, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, (IntPtr)0);
 }