Einar,
Yeah, I usually initialize the variable when it's declared rather than in the constructor. I don't think it matters which way you do that.
~~Bonnie
>Bonnie,
>Thanks for the answers. You might have answered something similar before (I might be loosing my mind today). I started looking through some old user controls and I noticed that I can get around initializing the values in the constructor by initializing the private variable that the property is using. I do this when the variable is declared.
>I have been using the RefreshProperties attribute in the past when I create usercontrol that consists of other controls and it seems to refresh the design surface when I change a property. In this case I am painting my own control and I am trying to get the designer to change based on my selection in the property sheet. Do I have to call the onpaint or refresh by myself in the set of the property?
>
>Einar