private void CommonButtonGame(Button currentButton)
        {
            currentButton.Visibility = Visibility.Collapsed;
            DisableAll("userTableButtons");
            CurrentUserNumberMoves++;
            labelNumberMovesOnlyUser.Content = CurrentUserNumberMoves.ToString();
            labelQuantityMoveUser.Content    = "Число ходов: " + CurrentUserNumberMoves.ToString();
            int[] cellCoordinates = FindCoordinatesButton(currentButton, "left");
            int   digit           = cellCoordinates[0];
            int   letter          = cellCoordinates[1];

            if (tableUserFoxes.TableFoxes[digit][letter].Value.Equals('f'))
            {
                labelFoxes[tableUserFoxes.CountDeadFoxes].Background = new ImageBrush(new BitmapImage(new Uri(Directory.GetCurrentDirectory() + "/fox.png")));
                tableUserFoxes.CountDeadFoxes++;
                EnableAll("userTableButtons");
                if (tableUserFoxes.CountDeadFoxes == tableUserFoxes.NumberFox)
                {
                    DisableAll("userTableButtons");
                    MessageBox.Show("Вы победили! Поздравляем!");
                }
            }
            else
            {
                if (CurrentTypeGame.Equals("На минимальное число ходов"))
                {
                    EnableAll("userTableButtons");
                }
                else
                {
                    ComputerMove();
                }
            }
        }
 private void DeleteFieldComputer()
 {
     InvisibleAll("computerTableButtons");
     InvisibleAll("computerTableLabels");
     VisibleCoordinatesComputer(false);
     labelNumberMovesOnlyUser.Content = CurrentUserNumberMoves.ToString();
     labelQuantityMoveComp.Visibility = Visibility.Collapsed;
     labelQuantityMoveUser.Visibility = Visibility.Collapsed;
 }