Adding controls dynamically at design time vb.net

Posted by chris on Stack Overflow See other posts from Stack Overflow or by chris
Published on 2009-07-04T03:39:55Z Indexed on 2010/05/01 10:07 UTC
Read the original article Hit count: 313

Filed under:
|
|

I have been developing some custom smart tags. I am using a DesignerActionMethodItem which gets me to a fired method in code. When I try to hit the controls.Add the control is added but it seems the designer is unaware of it. It is never serialized and it goes away when the form is refreshed in the designer. Any help would be greatly appreciated. I am sort of stuck and google hasn't helped me. Please don't send me anything about smart tags that has nothing to do with adding controls dynamically at design time, I have already read so many looking for this.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about winforms