-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Hi,
A big thank you for your tool, I love it!
I'm using the colorgrid, and I'm adding the customcolors based on the latest customcolorcollection that the user used. So everytime my dialog is closed with the OK button, the software keeps the CustomColors collection in a public collection. Then when the user reopen the color grid, his latest customcolors are reinserted like this
If MyCustomColorCollection IsNot Nothing Then my_colorpicker.CustomColors = MyCustomColorCollection
If the user dblclick on those custom colors, modify one and click ok, i get this message
System.Collections.Generic.KeyNotFoundException: 'The given key was not present in the dictionary.'
and the line 482 of colorgrid.cs is highlighted.
If I'm doing something wrong, let me know. I would like to use those user customecolor as much as possible