Re: Stop Disposing of an Object Which Inherits From a Control

From: Chris Theorin (slurptheoNO_at_SPAMslurptheo.PLEASEcom)
Date: 03/10/04


Date: Wed, 10 Mar 2004 10:43:09 -0600

Do you know any samples showing usage of Singleton object in the compact
framework?

"Elisa" <Elisa@nowhere.net> wrote in message
news:8vg2c.783$Gu6.58668366@hestia.telenet-ops.be...
> Hi Chris,
>
> You might want to look into the Singleton pattern. This way, you will
> only ever have one Popup Window object, and it will be automatically
> disposed when the application finishes.
>
>
> Regards,
>
> Elisa



Relevant Pages

  • Re: The use of modules (or not)
    ... Yes thats true - and of course if you are using the singleton pattern, ... singleton object can be the only instance. ... >> If you really want to use globals, ...
    (microsoft.public.dotnet.languages.vb)
  • Singleton
    ... The intent of the Singleton pattern as defined in Design Patterns is to ... to make such a Singleton object a global object? ...
    (comp.object)