static public ArrayList comboBoxtoDateRangeList(ComboBox monthBox, ComboBox yearBox)
        {
            bool      isMonthlyRange = false;
            ArrayList dateRange;
            string    year  = DateTime.Now.Year.ToString();
            string    month = "1";
            string    Date  = "";

            if (yearBox.SelectedIndex > 0)
            {
                year = "202" + yearBox.SelectedIndex;
            }
            if (monthBox.SelectedIndex > 0)
            {
                month          = monthBox.SelectedIndex.ToString();
                isMonthlyRange = true;
            }
            Date = month + "/01/" + year;
            DateTime dateTime = Convert.ToDateTime(Date);

            if (isMonthlyRange)
            {
                dateRange = GlobalFunctions.dateTimeToMonthRange(dateTime);
            }
            else
            {
                dateRange = GlobalFunctions.dateTimeToYearRange(dateTime);
            }
            return(dateRange);
        }