Click here to Skip to main content
15,886,757 members
Articles / Programming Languages / C#
Article

Basic C# PickList

Rate me:
Please Sign up or sign in to vote.
1.64/5 (6 votes)
23 Feb 2006 37.2K   368   13   1
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


Written By
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
kryzchek20-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.