/// <summary>
        /// Метод перемещающий на неделью назад.
        /// </summary>
        public void LeftButtonMethod(object param)
        {
            int    month     = (int)CurrentMonth;
            int    week      = 7;
            string Path      = CURRENT_PATH_EXPENSES;
            int    indexPath = PathsExpenses.IndexOf(Path);

            if (PathsExpenses.Count > indexPath && indexPath > 0)
            {
                CURRENT_PATH_EXPENSES = PathsExpenses[indexPath - 1];

                CurrentDay -= week;

                if (CurrentDay <= 0)
                {
                    if (CurrentMonth != Months.Январь)
                    {
                        CurrentMonth--;
                        month -= 1;
                    }
                    else
                    {
                        CurrentMonth = (Months)12;
                        month        = 12;
                        CurrentYear--;
                    }

                    int days = DateTime.DaysInMonth(CurrentYear, month);

                    CurrentDay += days;
                }

                Refresh();
            }
        }
        /// <summary>
        /// Метод перемещающий на неделью в перед.
        /// </summary>
        public void RightButtonMethod(object param)
        {
            int    days      = DateTime.DaysInMonth(CurrentYear, (int)CurrentMonth);
            int    week      = 7;
            int    months    = 12;
            string Path      = CURRENT_PATH_EXPENSES;
            int    indexPath = PathsExpenses.IndexOf(Path);


            if (PathsExpenses.Count > indexPath + 1)
            {
                CURRENT_PATH_EXPENSES = PathsExpenses[indexPath + 1];

                CurrentDay += week;

                if (CurrentDay > days)
                {
                    if ((int)CurrentMonth != months)
                    {
                        CurrentMonth++;
                    }
                    else
                    {
                        CurrentMonth = (Months)1;
                        CurrentYear++;
                    }

                    CurrentDay -= days;
                }

                Refresh();
            }
        }
        /// <summary>
        /// Метод получения текущего пути.
        /// </summary>
        private void GetCurrentPath()
        {
            var path = PathsExpenses.LastOrDefault();

            if (path == null)
            {
                CURRENT_PATH_EXPENSES = "IncomeExpenses.json";
            }
            else
            {
                CURRENT_PATH_EXPENSES = path;
            }
        }
        /// <summary>
        /// Метод создания новой таблицы.
        /// </summary>
        private void CreateNewTable()
        {
Never:

            var Path = Guid.NewGuid().ToString() + ".json";

            if (PathsExpenses.FirstOrDefault(s => s.Equals(Path)) == null)
            {
                PathsExpenses.Add(Path);

                Save(PATH_ALL_EXPENSES, PathsExpenses);
            }
            else
            {
                goto Never;
            }
        }