Re: How can I tell the TypeConverter to Dispose or destruct C#.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jay (jayonline_at_gmail.com)
Date: 11/10/04

  • Next message: Guy Bradley: "Windows Forms Designer - selecting controls"
    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


  • Next message: Guy Bradley: "Windows Forms Designer - selecting controls"

    Relevant Pages

    • Re: PropertyGrid & Drop down list style
      ... I think that you really need your own TypeConverter that implements the StandardValues collection. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... properybag that is used to populate the propertygrid. ... setting this attribute on one of the Enum options to a typeof ...
      (microsoft.public.dotnet.framework.windowsforms)
    • Re: TypeConverter for object type Properties
      ... Best regards, ... Home of Smart PropertyGrid for .Net and MFC (http://www.visualhint.com/ ... Microsoft PropertyGrid Resource List - http://www.propertygridresourcelist.com ... You could set a special TypeConverter which would delegate the work to ...
      (microsoft.public.dotnet.framework.windowsforms)
    • Re: accessing TypeConverter from code
      ... The PropertyGrid works if the ... TypeConverter is only applied to the Enum, ... Bill ...
      (microsoft.public.dotnet.languages.vb)
    • Re: accessing TypeConverter from code
      ... directly to the Enum. ... applied to a public property in a class, ... PropertyGrid work. ... | I have a TypeConverter for converting between this Enum and Strings. ...
      (microsoft.public.dotnet.languages.vb)
    • Re: PropertyGrid - an object instead of a TypeConverter typeof()?
      ... you will find a solution either with a TypeConverter or a custom ... First let me tell you that the PropertyGrid resource ... Nicolas Cadilhac @ VisualHint ... that implements TypeConverter and then passing that class. ...
      (microsoft.public.dotnet.framework.windowsforms.controls)