예제 #1
0
        static ThemeResolutionService()
        {
            string str = "Telerik.WinControls.Resources.";

            ThemeResolutionService.LoadFont(str + "Roboto-Medium.ttf");
            ThemeResolutionService.LoadFont(str + "Roboto-Regular.ttf");
            ThemeResolutionService.LoadFont(str + "TelerikWebUI.ttf");
            ThemeResolutionService.LoadFont(str + "WebComponentsIcons.ttf");
            ThemeResolutionService.LoadFont(str + "Awesome-Brands-Regular.ttf");
            ThemeResolutionService.LoadFont(str + "Awesome-Regular.ttf");
            ThemeResolutionService.LoadFont(str + "Awesome-Solid.ttf");
        }
예제 #2
0
 public static int LoadFont(string resourcePath)
 {
     return(ThemeResolutionService.LoadFont(Assembly.GetExecutingAssembly().GetManifestResourceStream(resourcePath)));
 }