0
Try this
//83 Key code for 'S'
If(e.Control && e.KeyValue==83)
{
}
Regards,
Kishore
Accepted 0
Thanx Kishore Kumar
but it again shows an error
"Error 1 Operator '==' cannot be applied to operands of type 'System.Windows.Forms.Keys' and 'int' "
0
You should create a menu item for saving data. If you do that then you just set the shortcut key for it and then you don't have to make things difficult as you are doing here.
0
Try this
//83 Key code for 'S'
If(e.Control && e.KeyCode==83)
{
}
Regards,
Kishore