Ejemplo n.º 1
0
        /// <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;
            }
        }
Ejemplo n.º 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;
              }
        }