The following is a very good article on how to create various options in your WebPart.
http://bloggingabout.net/blogs/mglaser/archive/2007/04/19/building-my-own-usercontrol-webpart-part-vi.aspx
Wednesday, 19 December 2007
Creating a WebPart with Custom User Control
Posted by Unknown at 17:32