Re: hiding code from the winform designer




What about using private/protected default constructors for your
controls/forms?

This is enough for the designer and you can't instantiate the control/form
in runtime via the default constructor.

Best regards,

Andreas Ländle


"RipT" <ript@xxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:C51D502D-4875-4F84-A057-83349D91A1EF@xxxxxxxxxxxxxxxx
Thank you for your very thorough reply! I read about and implemented this
approach after referencing other sources, but I was not sure this was the
best solution because no one covered the issue completely. Thanks again!

"Linda Liu [MSFT]" wrote:

Hi Rip,

How about the problem now?

If the problem is still not solved, please feel free to let me know.

Thank you for using our MSDN Managed Newsgroup Support Service!


Sincerely,
Linda Liu
Microsoft Online Community Support




.


Loading