Re: How can I tell the TypeConverter to Dispose or destruct C#.
From: Jay (jayonline_at_gmail.com)
Date: 11/10/04
- Previous message: Gert: "How can I tell the TypeConverter to Dispose or destruct C#."
- In reply to: Gert: "How can I tell the TypeConverter to Dispose or destruct C#."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Nov 2004 10:57:26 +0530
Are u creating a instance of TypeConvertor...
Jay
"Gert" <gert@iscrip.co.za> wrote in message
news:d8eff1b.0411092047.524268a7@posting.google.com...
> Hi
>
> I have a PropertyGrid that loads one of my objects. The Object has a
> TypeConverter that I build to display a list of values. If the grid
> closes I would like to do some cleanup.
>
> In the constructor of the TypeConverter I registered an event so that
> the TypeConverter is notified when the list data has changed.
>
> In the destructor I would like to deregister the event.
>
> How do I get it to call my Dispose method?
>
> Thanks
> Gert
- Previous message: Gert: "How can I tell the TypeConverter to Dispose or destruct C#."
- In reply to: Gert: "How can I tell the TypeConverter to Dispose or destruct C#."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|