private void GenerateFontNames() { var service = new BalanceFunctions(); service.UseDefaultCredentials = true; foreach (FontFamily font in System.Drawing.FontFamily.Families) { service.CreateFontCodes(font.Name, font.Name); } }
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); } }