private void planilla_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
        {
            var x = e.KeyCode;

            switch (x)
            {
            case Keys.Down: tab.Abajo(); fondo.Invalidate(); break;

            case Keys.Left: tab.Izquierda(); fondo.Invalidate(); break;

            case Keys.Right: tab.Derecha(); fondo.Invalidate(); break;

            case Keys.Up: tab.Arriba(); fondo.Invalidate(); break;

            case Keys.Back: undoToolStripMenuItem_Click(sender, null); break;

            default: break;
            }
            puntos.Text = Convert.ToString(tab.score);
            if (tab.BestScore < tab.score)
            {
                tab.BestScore   = tab.score;
                mejorpunto.Text = Convert.ToString(tab.BestScore);
            }

            if (tab.Perdiste())
            {
                Form Badluck = new Lose();
                Badluck.ShowDialog();
                tab.Iniciar(dimensiones);
                fondo.Invalidate();
            }
        }