Re: Destroying forms by shawrie
shawrie
Mon Feb 19 08:10:08 CST 2007
thanks for your help at last it makes sense. I really think i should
give up and go home for the day
On 19 Feb, 13:24, "<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote:
> You're in a managed environment. You shouldn't care when it gets released
> from memory. Closing it will run Dispose, which in turn will end up
> deleting the objects root. At some point - a point that you shouuldn't be
> trying to control - the GC may release that memory back to the system.
>
> --
> Chris Tacke - Embedded MVP
> OpenNETCF Consulting
> Managed Code in the Embedded Worldwww.opennetcf.com
> --
>
> "shawrie" <neil.s...@sanderson.com> wrote in message
>
> news:1171890493.151557.113870@q2g2000cwa.googlegroups.com...
>
>
>
> > hello
>
> > will form1.close destroy the form completely from memory or should i
> > be calling form1.dispose
> > and do we need to issue a form1 = nothing command.
>
> > thanks
> > shawrie- Hide quoted text -
>
> - Show quoted text -