if (e.eyChar = Keys.S) { timer1.Stop(); }
Error 1 Cannot implicitly convert type 'System.Windows.Forms.Keys' to 'char'. An explicit conversion exists (are you missing a cast?)
if (e.KeyChar == (char)Keys.S) { }
if (e.KeyChar == (char) Keys.S) { MessageBox.Show(e.KeyChar.ToString()); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)