private void MyKeyDownEvent(int keyId, string keyName)
    {
        Dispatcher.BeginInvoke(new Action(delegate
        {
            switch (keyId)
            {
            case (int)WinVK.DELETE:
                ExternalMenuWindow.IsShowWindowDelegate();
                break;

            case (int)WinVK.F3:
                if (CheckBox_FillAllAmmo.IsChecked == true)
                {
                    Weapon.FillAllAmmo();
                }
                break;

            case (int)WinVK.F4:
                if (CheckBox_MovingFoward.IsChecked == true)
                {
                    Teleport.MovingFoward();
                }
                break;

            case (int)WinVK.F5:
                if (CheckBox_ToWaypoint.IsChecked == true)
                {
                    Teleport.ToWaypoint();
                }
                break;

            case (int)WinVK.F6:
                if (CheckBox_ToObjective.IsChecked == true)
                {
                    Teleport.ToObjective();
                }
                break;

            case (int)WinVK.F7:
                if (CheckBox_FillHealthArmor.IsChecked == true)
                {
                    Player.FillHealthArmor();
                }
                break;

            case (int)WinVK.F8:
                if (CheckBox_ClearWanted.IsChecked == true)
                {
                    Player.WantedLevel(0x00);
                }
                break;

            case (int)WinVK.Oem0:
                if (CheckBox_NoCollision.IsChecked == true)
                {
                    NoCollisionToggle = !NoCollisionToggle;

                    Player.NoCollision(NoCollisionToggle);
                    Settings.Player.NoCollision = NoCollisionToggle;

                    if (NoCollisionToggle)
                    {
                        Console.Beep(600, 75);
                    }
                    else
                    {
                        Console.Beep(500, 75);
                    }
                }
                break;
            }
        }));
    }