protected override bool OnKeyDownCore(Keys keyData)
        {
            ProcessKeyCommandEventArgs e = new ProcessKeyCommandEventArgs(MyTileControl, keyData);

            MyTileControl.RaiseProcessKeyCommand(e);
            if (e.Result == KeyCommandResult.None)
            {
                return(base.OnKeyDownCore(keyData));
            }
            return(e.Result == KeyCommandResult.True ? true : false);
        }
 public ProcessKeyCommandEventArgs(MyTileControl tileControl, Keys keyData)
 {
     this.Result      = KeyCommandResult.None;
     this.KeyData     = keyData;
     this.TileControl = tileControl;
 }