Exemplo n.º 1
0
        /// <summary>
        /// Gets the Column Headings for the user's preferences
        /// </summary>
        /// <param name="columnNumber"></param>
        /// <returns></returns>
        protected String getHeading(int columnNumber)
        {
            String columnHeading = "";

            switch (columnNumber)
            {
            case 1:
                columnHeading = utility.GetColumnHeading1();
                break;

            case 2:
                columnHeading = utility.GetColumnHeading2();
                break;

            case 3:
                columnHeading = utility.GetColumnHeading3();
                break;

            case 4:
                columnHeading = utility.GetColumnHeading4();
                break;

            case 5:
                columnHeading = utility.GetColumnHeading5();
                break;

            case 6:
                columnHeading = utility.GetColumnHeading6();
                break;

            case 7:
                columnHeading = utility.GetColumnHeading7();
                break;

            case 8:
                columnHeading = utility.GetColumnHeading8();
                break;

            case 9:
                columnHeading = utility.GetColumnHeading9();
                break;

            case 10:
                columnHeading = utility.GetColumnHeading10();
                break;

            case 11:
                columnHeading = utility.GetColumnHeading11();
                break;

            case 12:
                columnHeading = utility.GetColumnHeading12();
                break;

            case 13:
                columnHeading = utility.GetColumnHeading13();
                break;

            default:
                break;
            }

            return(columnHeading);
        }