public void UpdatePalette(PaletteOptions p, Color color) { KeyValuePair <PaletteOptions, Color>[] ca = { new KeyValuePair <PaletteOptions, Color>(p, color) }; UpdatePalette(ca); }
/// <summary> /// Initialize configuration by specifying values. /// </summary> public PPConfig(PaletteOptions paletteOption = PaletteOptions.SaveNothing, string paletteFileName = null) { PaletteOption = paletteOption; PaletteFileName = paletteFileName; }