예제 #1
0
파일: TVConfig.cs 프로젝트: bodiroga/Avalon
        /// <summary>
        /// Returns a Translated name for selected TVGuide Size
        /// </summary>
        /// <param name="widebanner">TVGuideSize enum to translate</param>
        /// <returns>Translated Name</returns>
        private string GetTVMiniGuideSizeName(TVMiniGuideRows rows)
        {
            switch (rows)
            {
                case TVMiniGuideRows.Three:
                    return Translation.TVMiniGuideThreeRows;

                case TVMiniGuideRows.Eight:
                    return Translation.TVMiniGuideEightRows;

                default:
                    return Translation.TVMiniGuideSize;
            }
        }
예제 #2
0
        private string GetTVMiniGuideSizeName(TVMiniGuideRows rows)
        {
            switch (rows)
              {
            case TVMiniGuideRows.Three:
              return Translation.TVMiniGuideThreeRows;

            case TVMiniGuideRows.Five:
              return Translation.TVMiniGuideFiveRows;

            case TVMiniGuideRows.Seven:
              return Translation.TVMiniGuideSevenRows;

            case TVMiniGuideRows.Nine:
              return Translation.TVMiniGuideNineRows;

            default:
              return Translation.TVMiniGuideSevenRows;
              }
        }