Friday, January 15, 2010

JWMD Picture Browser Control

I made a simple picture browser control because of some reason that Microsoft.WindowsMobile.Forms.SelectPictureDialog did not include filenames at the bottom of the icon on the lists.

So again.. here’s the control

pbc01
- Here’s the interface after
loading the pictures
pbc02
- after clicking the browse button
just after the path box.
NETCFFolderDialog control
appears
pbc03
- interface while loading.
 

ok. that’s pretty much it..

code snippet is very simple

JWMDPictureBrowserControl.PictureBrowser pb = new JWMDPictureBrowserControl.PictureBrowser();
pb.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
pb.Filter = ".png;.jpg;.bmp";
pb.ShowDialog();
MessageBox.Show("Selected file: " + pb.FileName);
DOWNLOAD HERE
 arrow
Type: DLL Fle
Size: 11kb
January 23, 2010
- UPDATE:
Trapped Errors ..

Initial Release - January 16, 2010

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.