Hi all the NG,
I've found this article about ISupportInitialize bug
http://www.bokebb.com/dev/english/1949/posts/194928091.shtml
I'm developing my Graphs custom control for CF 2.0 and I've about
30/35 properties for the Graphs colors, appearence, values..
Every time one property change I must redraw the graph in a Bitmap
object in memory and paste it in the UserControl_Paint event. I also
need to save the graph in a bmp file for the printing, so I've used
this way.
During the InitializeComponents method are setted all the properties,
so I recreate the Bitmap 30/35 times.. it's not so good...
I've implemented ISupportInitialize interface in my UserControl, but
when I drag&drop the control in my form the designer don't
automatically adds the .BeginInit() and EndInit() methods, so my code
in usercontrol will be never executed..
This designer bug has been resolved? What about VS2008 IDE, in case??
Thanks