public void LeftDown(object sender, RoutedEventArgs e)
{
if (sender is Button sndr)
var key = (Key)Enum.Parse(typeof(Key), sndr.Name.Substring(3));
OnKey(key);
}
// not supposed to compile this code