Refresh a control in the IDE Designer when changing properties.

  • Thread starter Thread starter Sagaert Johan
  • Start date Start date
S

Sagaert Johan

Hi

I have a custom control that displays an image.

I have the invalidate method fired when a new picture is selected in the
designer, but the designer does not show this change.
It only does this if the UI window is closed and opened again.

Is there some attribute i have to use to get an immediate refresh of the
designer window ?

Johan
 
Have you tried Refresh() and Update() as well?
Failing that you can always desperately call Application.DoEvents();
 
you should just wait for Visual Studio 2007. It is going to ship this
April.

-Todos
 
Doevents will not help int the Designe Time environment

i gues i need to fiddle with
System.Windows.Forms.Design.ControlDesigner

but i can't find a lot of help on this subject.
 
Back
Top