Exemple #1
0
 /// <summary>Шрифт для Ext контролів</summary>
 public static Font GetFontForExtControls(TypesOfFont type)
 {
     switch (type)
         {
         case TypesOfFont.Small:
                 return new Font("Tahoma", 8);
             case TypesOfFont.Big:
                 return new Font("Tahoma", 25, FontStyle.Bold);
             default:
                 return new Font("Tahoma", 11, FontStyle.Bold);
         }
 }
Exemple #2
0
        /// <summary>Шрифт для Ext контролів</summary>
        public static Font GetFontForExtControls(TypesOfFont type)
        {
            switch (type)
            {
            case TypesOfFont.Small:
                return(new Font("Tahoma", 8));

            case TypesOfFont.Big:
                return(new Font("Tahoma", 25, FontStyle.Bold));

            default:
                return(new Font("Tahoma", 11, FontStyle.Bold));
            }
        }