The only thing you'll need to look into in the future is VS2005 uses a
different ResourceManager subclass by default (when you set the Localizable
property to true) so when you switch to 2005, take a look at what it does to
make sure you'll still be able to compile.

Adam..

> -----Original Message-----
> From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of Barnaby Gray
> Sent: Wednesday, July 06, 2005 1:20 PM
> To: [email protected]
> Subject: Re: [ADVANCED-DOTNET] Windows Form branding
>
> Adam Sills wrote:
>  > Then all of the properties of all of your controls are
> retrieved from the
>  > resource manager instead of being retrieved directly from the code
> file. To
>  > hook in here, here's what I did:
>  >
>  > 1) create a non-visual component (class that derives from
> IComponent) and
>  > add it to every control/form
>  > 2) have that component provide a custom seralizer
>  > 3) have that serializer overwrite the resource manager reference
>
> Thanks Adam, this is exactly what we needed! superb!

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to