[Gtk-sharp-list] Object destruction
Victor Rafael Rivarola Soerensen (FANATICO y LOCO por Cristo)
vrrivaro at gmail.com
Wed Jul 19 12:37:14 EDT 2006
2006/7/16, Michael Hutchinson <m.j.hutchinson at gmail.com>:
> > program is call the methods:
> >
> > button.Dispose ();
> > wnd.Dispose ();
>
> I'm not certain about this, but I think that the IDisposable pattern
> requires a disposed object to dispose its children, so you may not
> need to call button.Dispose ().
You are right, it does. My mistake. The button.Dispose() method would
be called automatically by the wnd.Dispose(). I was just giving an
example but failed to point it out.
Jesus bless you,
Víctor Rafal Rivarola
--
FANÁTICO
"Por cuanto eres tibio, y no frío ni caliente, te vomitaré de mi boca."
Apocalipsis 3:16
LOCO
"Porque la Palabra de la Cruz es locura para los que se pierden; pero a
los que se salvan, esto es, a nosotros, es poder de Dios."
1 Corintios 1:18
More information about the Gtk-sharp-list
mailing list