Re: hiding code from the winform designer
- From: "Andreas Ländle" <nospam@xxxxxxxxxxx>
- Date: Wed, 18 Jul 2007 08:51:51 +0200
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
.
- Prev by Date: Re: Where does the designer code come from?
- Next by Date: WPF rich designer support
- Previous by thread: Where does the designer code come from?
- Next by thread: WPF rich designer support
- Index(es):
Loading