Estou farto de procurar por um TypeConverter para Types e tudo o que tenho encontrado ou é interno ou privado.
Não foi uma tarefa muito dura escrever um, mas acho que a Plataform .NET devia providenciar um.
Bem, aqui está o que eu escrevi.
[Cross-Posted de http://www.arquitecturadesoftware.org/blogs/paulomorgado/]
O "meu" WebBrowserControl para a Plataforma .NET 1.1 foi actualizado.
Foram corrigidos alguns erros e feitas algumas alterações à API (ainda estou a pensar num versão .NET 2.0).
Conseguiram-se resolver alguns problemas relacioandos com o Design Timei, mas, infelizmente, a PropertyGrid lança uma excepção quande se lhe liga um WebBrowserControl:
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Windows.Forms.PropertyGridInternal.GridEntry.Create(PropertyGridView view, Object[] rgobjs, IServiceProvider baseProvider, IDesignerHost currentHost, PropertyTab tab, PropertySort initialSortType)
at System.Windows.Forms.PropertyGrid.UpdateSelection()
at System.Windows.Forms.PropertyGrid.RefreshProperties(Boolean clearCached)
at System.Windows.Forms.PropertyGrid.Refresh(Boolean clearCached)
at System.Windows.Forms.PropertyGrid.set_SelectedObjects(Object[] value)
at System.Windows.Forms.PropertyGrid.set_SelectedObject(Object value)
Alguém tem alguma pista?
[Cross-Posted de http://www.arquitecturadesoftware.org/blogs/paulomorgado/]