예제 #1
0
    private void ConfigColors()
    {
        foreach (KeyValuePair <string, Color> pair in colorTheme.GetSection("General"))
        {
            ColorField c = new ColorField(OptionNameToLabelName(pair.Key), pair.Value);
            colors.Add(c);
            colorTab.Controls.Add(c);
        }

        DoColorLayout();
    }