Hi All, I am creating a windows application using C# 2005. I have a form in which I am displaying Items one by one.
I have 3 fields Item code, Item Desc. and rate and a toolstrip bar. There are buttons like add, edit delete, save, cancel, first, previous, next, last in the toolstrip.
When the form loads, it displays fields in read only mode. When the user clicks on edit button, the form allows the user to edit entries.
When the user clicks on cancel button, the form returns to read only mode. Now I want to cancel the edit mode when the user press the ESC key.
Could anybody please suggest me, how can I do the same. I am new to windows applications. ealier I was developing Web Based Applications using ASP.Net(C#).