Click here to Skip to main content
14,550,787 members

Basic C# PickList

Rate this:
1.64 (6 votes)
Please Sign up or sign in to vote.
1.64 (6 votes)
23 Feb 2006
Multisection PickList written in C#

Sample Image - PickList.jpg

Introduction

I got a working version of a basic PickList control. It returns the Items moved - which is very nice to know. I'm sure there are better ways of writting this. See site for updates, history, other controls and their source code.

The ImageListBox controls represent the underling data as a DataSet although a DataTable would sufice. For some reason storing an image to the DataSet didn't work so I store the images in an ImageList.

The code has gone through a couple changes and probably will go through some more. I just thought people might like to use this code for a starting point to writing a more rebust PickList. I'll work on it as time premits.

I would love to know how to autoresize the control. I haven't tested it with large amounts of items. Hopefully it is useful to someone out there.

 

Updated Picklist here. See CodeProject article.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

MJDamron
Software Developer
United States United States
I enjoy messing with application development and some Web development technologies. Right now I work in Virginia as a contractor to the government.

I am a Microsoft Cert. Professional and I got my 4 year BS degree.

See web site for resume and other code samples.

Comments and Discussions

 
QuestionHow about posting some code? Pin
kryzchek20-Jan-06 10:08
Memberkryzchek20-Jan-06 10:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Article
Posted 20 Jan 2006

Stats

35.4K views
360 downloads
14 bookmarked