Groups | Blog | Home
all groups > dotnet windows forms designtime > april 2005 >

dotnet windows forms designtime : How to implement an OpenFileDialog in a Component's DesignTime property?


Frank Kwong via DotNetMonster.com
4/5/2005 6:15:49 AM
The PictureBox component has a desingtime "Image" property. You can click
and open an OpenFileDialog to select the path of an image. How is this
being done? Also, you can only browse for the file and cannot type in the
path. Is there a way to allow a manual input as well as browse input?

Thanks,

Frankk

--
joeycalisay
4/6/2005 11:55:13 AM
The Image class uses the ImageEditor. I believe it is possible using a
custom TypeConverter to add string conversions functionality from
ImageConverter

--
Joey Calisay
http://spaces.msn.com/members/joeycalisay/


"Frank Kwong via DotNetMonster.com" <forum@DotNetMonster.com> wrote in
message news:747de220df954355af0a29a729734b67@DotNetMonster.com...
[quoted text, click to view]

AddThis Social Bookmark Button