2006/7/16, Michael Hutchinson <[EMAIL PROTECTED]>: > > 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 _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
