dinsdag 6 januari 2009

.NET char to Keys

To convert a single character to a Keys enumeration I just cast it:

Keys k = (Keys)c;

I don't have any problems (yet).

Geen opmerkingen: