Handling Key Event in Console Application RRS feed

  • Question

  • Hi all

    i want to handle the event when user press a key (suppose he press Tab key)

    now in my console application i want to do something like

    if (key == Keys.Tab)


       //some logic

         e. handled = true;


    so that no input goes to an active application from tab key

    I can easily do this in windows but not able to do in console application

    any help would be great

    Tuesday, January 24, 2012 9:49 AM

All replies