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
- Here’s the interface after loading the pictures | - after clicking the browse button just after the path box. NETCFFolderDialog control appears |
- 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 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.