|
So I've got this color picker that I've made that is derrived from a panel. It's got public properties called: Hue, Saturation, and Value.
My issue is that before these values can be set, my color picker has to have the Init() function called before any of these properties are set. The designer is automatically generating code to set Hue, Saturation, and Value to 0 obviously before my Init() function gets called, so it's crashing.
How can I make it so that the designer doesn't try to set these properties?
|