Пример #1
0
        private void GenerateFontNames()
        {
            var service = new BalanceFunctions();

            service.UseDefaultCredentials = true;

            foreach (FontFamily font in System.Drawing.FontFamily.Families)
            {
                service.CreateFontCodes(font.Name, font.Name);
            }
        }
Пример #2
0
        private void GenerateColorCodes()
        {
            var service = new BalanceFunctions();

            service.UseDefaultCredentials = true;

            foreach (var colorValue in Enum.GetValues(typeof(KnownColor)))
            {
                Color color = Color.FromKnownColor((KnownColor)colorValue);
                service.CreateCololerCodes(color.Name, color.Name);
            }
        }