RSS

PictureListView control

05 Apr

This control is derived from ListView control and supports image rendering, and its features include:

  • Both local images and images on the web can be displayed;
  • The sizes of the images are not necessarily the same, 100X100, 50X200, 200X50 etc can all be displayed in this control;
  • The type of the images are not necessarily the same, jpg, png, bmp etc. can all be displayed in the same control;
  • Asynchonous image loading with multi-threaded support;

Usage:

  1. Drag a control from the toolbox to a winform or user control;
  2. Configure the custom properties such as thumbnail size, etc.
  3. In the code, call PictureListView.AddPicture(string FilePath); to add a picture therein;
  4. Usage Control + mouse scroll to adjust picture size

Another example to search images from google and display the result in winform applications

 
Leave a comment

Posted by on April 5, 2009 in Dotnet/C#

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: